Cloudera Documentation

Streaming SQL Engine API

APIKeyOperations

createApiKey

Creates a new api key in the specified project.


/api/v2/projects/{projectId}/api-keys

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/api-keys"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        ApiKeySyncDto body = ; // ApiKeySyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.createApiKey(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#createApiKey");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        ApiKeySyncDto body = ; // ApiKeySyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.createApiKey(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#createApiKey");
            e.printStackTrace();
        }
    }
}
ApiKeySyncDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new api key in the specified project.
[apiInstance createApiKeyWith:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ApiKeyDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var body = ; // {{ApiKeySyncDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createApiKey(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var body = new ApiKeySyncDto(); // ApiKeySyncDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new api key in the specified project.
                ApiKeyDto result = apiInstance.createApiKey(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.createApiKey: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$body = ; // ApiKeySyncDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ApiKeySyncDto->new(); # ApiKeySyncDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createApiKey(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->createApiKey: $@\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.APIKeyOperationsApi()
body =  # ApiKeySyncDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new api key in the specified project.
    api_response = api_instance.create_api_key(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->createApiKey: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Api key created successfully.

Status: 400 - Invalid request format or content.


createApiKey1

Creates a new api key in the active project.


/api/v1/api-keys

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/api-keys"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        ApiKeySyncDto body = ; // ApiKeySyncDto | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.createApiKey1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#createApiKey1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        ApiKeySyncDto body = ; // ApiKeySyncDto | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.createApiKey1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#createApiKey1");
            e.printStackTrace();
        }
    }
}
ApiKeySyncDto *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new api key in the active project.
[apiInstance createApiKey1With:body
    authorization:authorization
              completionHandler: ^(ApiKeyDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var body = ; // {{ApiKeySyncDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createApiKey1(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var body = new ApiKeySyncDto(); // ApiKeySyncDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new api key in the active project.
                ApiKeyDto result = apiInstance.createApiKey1(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.createApiKey1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$body = ; // ApiKeySyncDto | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ApiKeySyncDto->new(); # ApiKeySyncDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createApiKey1(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->createApiKey1: $@\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.APIKeyOperationsApi()
body =  # ApiKeySyncDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new api key in the active project.
    api_response = api_instance.create_api_key1(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->createApiKey1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Api key created successfully.

Status: 400 - Invalid request format or content.


deleteApiKeyById

Deletes an api key from the specified project.


/api/v2/projects/{projectId}/api-keys/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/api-keys/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteApiKeyById(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#deleteApiKeyById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteApiKeyById(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#deleteApiKeyById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes an api key from the specified project.
[apiInstance deleteApiKeyByIdWith:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteApiKeyById(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes an api key from the specified project.
                apiInstance.deleteApiKeyById(id, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.deleteApiKeyById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteApiKeyById(id => $id, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->deleteApiKeyById: $@\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.APIKeyOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes an api key from the specified project.
    api_instance.delete_api_key_by_id(id, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->deleteApiKeyById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Api key not found.

Status: 200 - Api key deleted successfully.

Status: 500 - Unexpected server error.


deleteApiKeyById1

Deletes an api key from the active project.


/api/v1/api-keys/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/api-keys/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteApiKeyById1(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#deleteApiKeyById1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteApiKeyById1(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#deleteApiKeyById1");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes an api key from the active project.
[apiInstance deleteApiKeyById1With:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteApiKeyById1(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes an api key from the active project.
                apiInstance.deleteApiKeyById1(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.deleteApiKeyById1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteApiKeyById1(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->deleteApiKeyById1: $@\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.APIKeyOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes an api key from the active project.
    api_instance.delete_api_key_by_id1(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->deleteApiKeyById1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Api key not found.

Status: 200 - Api key deleted successfully.

Status: 500 - Unexpected server error.


getAllApiKeysInActiveProject

Retrieves all api keys in the active project.


/api/v1/api-keys

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/api-keys"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ApiKeyDto] result = apiInstance.getAllApiKeysInActiveProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getAllApiKeysInActiveProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ApiKeyDto] result = apiInstance.getAllApiKeysInActiveProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getAllApiKeysInActiveProject");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves all api keys in the active project.
[apiInstance getAllApiKeysInActiveProjectWith:authorization
              completionHandler: ^(array[ApiKeyDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllApiKeysInActiveProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all api keys in the active project.
                array[ApiKeyDto] result = apiInstance.getAllApiKeysInActiveProject(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.getAllApiKeysInActiveProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllApiKeysInActiveProject(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->getAllApiKeysInActiveProject: $@\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.APIKeyOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all api keys in the active project.
    api_response = api_instance.get_all_api_keys_in_active_project(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->getAllApiKeysInActiveProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Api keys retrieved successfully.

Status: 500 - Unexpected server error.


getAllApiKeysInProject

Retrieves all api keys in the specified project.


/api/v2/projects/{projectId}/api-keys

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/api-keys"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[ApiKeyDto] result = apiInstance.getAllApiKeysInProject(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getAllApiKeysInProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[ApiKeyDto] result = apiInstance.getAllApiKeysInProject(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getAllApiKeysInProject");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves all api keys in the specified project.
[apiInstance getAllApiKeysInProjectWith:projectId
    authorization:authorization
              completionHandler: ^(array[ApiKeyDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllApiKeysInProject(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all api keys in the specified project.
                array[ApiKeyDto] result = apiInstance.getAllApiKeysInProject(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.getAllApiKeysInProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllApiKeysInProject(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->getAllApiKeysInProject: $@\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.APIKeyOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all api keys in the specified project.
    api_response = api_instance.get_all_api_keys_in_project(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->getAllApiKeysInProject: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Api keys retrieved successfully.

Status: 500 - Unexpected server error.


getApiKeyById

Retrieves an api key from the specified project by its id.


/api/v2/projects/{projectId}/api-keys/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/api-keys/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.getApiKeyById(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getApiKeyById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.getApiKeyById(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getApiKeyById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves an api key from the specified project by its id.
[apiInstance getApiKeyByIdWith:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ApiKeyDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getApiKeyById(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves an api key from the specified project by its id.
                ApiKeyDto result = apiInstance.getApiKeyById(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.getApiKeyById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getApiKeyById(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->getApiKeyById: $@\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.APIKeyOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves an api key from the specified project by its id.
    api_response = api_instance.get_api_key_by_id(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->getApiKeyById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Api key not found.

Status: 200 - Api key retrieved successfully.

Status: 500 - Unexpected server error.


getApiKeyById1

Retrieves an api key from the active project by its id.


/api/v1/api-keys/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/api-keys/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.APIKeyOperationsApi;

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

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.getApiKeyById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getApiKeyById1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.APIKeyOperationsApi;

public class APIKeyOperationsApiExample {

    public static void main(String[] args) {
        APIKeyOperationsApi apiInstance = new APIKeyOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ApiKeyDto result = apiInstance.getApiKeyById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling APIKeyOperationsApi#getApiKeyById1");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves an api key from the active project by its id.
[apiInstance getApiKeyById1With:id
    authorization:authorization
              completionHandler: ^(ApiKeyDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.APIKeyOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getApiKeyById1(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new APIKeyOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves an api key from the active project by its id.
                ApiKeyDto result = apiInstance.getApiKeyById1(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling APIKeyOperationsApi.getApiKeyById1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAPIKeyOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::APIKeyOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getApiKeyById1(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling APIKeyOperationsApi->getApiKeyById1: $@\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.APIKeyOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves an api key from the active project by its id.
    api_response = api_instance.get_api_key_by_id1(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling APIKeyOperationsApi->getApiKeyById1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Api key not found.

Status: 200 - Api key retrieved successfully.

Status: 500 - Unexpected server error.


AdminOperations

generateKeytab2

Generates a keytab for the user with the given credentials.


/api/v1/admin/users/{userId}/keytab/generate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/admin/users/{userId}/keytab/generate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AdminOperationsApi;

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

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab2(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#generateKeytab2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AdminOperationsApi;

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab2(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#generateKeytab2");
            e.printStackTrace();
        }
    }
}
GenerateKeytabRequest *body = ; // 
String *userId = userId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Generates a keytab for the user with the given credentials.
[apiInstance generateKeytab2With:body
    userId:userId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.AdminOperationsApi()
var body = ; // {{GenerateKeytabRequest}} 
var userId = userId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.generateKeytab2(bodyuserId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AdminOperationsApi();
            var body = new GenerateKeytabRequest(); // GenerateKeytabRequest | 
            var userId = userId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Generates a keytab for the user with the given credentials.
                apiInstance.generateKeytab2(body, userId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AdminOperationsApi.generateKeytab2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAdminOperationsApi();
$body = ; // GenerateKeytabRequest | 
$userId = userId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AdminOperationsApi->new();
my $body = WWW::SwaggerClient::Object::GenerateKeytabRequest->new(); # GenerateKeytabRequest | 
my $userId = userId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->generateKeytab2(body => $body, userId => $userId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling AdminOperationsApi->generateKeytab2: $@\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.AdminOperationsApi()
body =  # GenerateKeytabRequest | 
userId = userId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Generates a keytab for the user with the given credentials.
    api_instance.generate_keytab2(body, userId, authorization=authorization)
except ApiException as e:
    print("Exception when calling AdminOperationsApi->generateKeytab2: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Keytab generated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


generateKeytab3

Generates a keytab for the user with the given credentials.


/api/v2/admin/users/{userId}/keytab/generate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/admin/users/{userId}/keytab/generate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AdminOperationsApi;

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

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab3(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#generateKeytab3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AdminOperationsApi;

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab3(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#generateKeytab3");
            e.printStackTrace();
        }
    }
}
GenerateKeytabRequest *body = ; // 
String *userId = userId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Generates a keytab for the user with the given credentials.
[apiInstance generateKeytab3With:body
    userId:userId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.AdminOperationsApi()
var body = ; // {{GenerateKeytabRequest}} 
var userId = userId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.generateKeytab3(bodyuserId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AdminOperationsApi();
            var body = new GenerateKeytabRequest(); // GenerateKeytabRequest | 
            var userId = userId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Generates a keytab for the user with the given credentials.
                apiInstance.generateKeytab3(body, userId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AdminOperationsApi.generateKeytab3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAdminOperationsApi();
$body = ; // GenerateKeytabRequest | 
$userId = userId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AdminOperationsApi->new();
my $body = WWW::SwaggerClient::Object::GenerateKeytabRequest->new(); # GenerateKeytabRequest | 
my $userId = userId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->generateKeytab3(body => $body, userId => $userId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling AdminOperationsApi->generateKeytab3: $@\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.AdminOperationsApi()
body =  # GenerateKeytabRequest | 
userId = userId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Generates a keytab for the user with the given credentials.
    api_instance.generate_keytab3(body, userId, authorization=authorization)
except ApiException as e:
    print("Exception when calling AdminOperationsApi->generateKeytab3: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Keytab generated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


updateUserPassword2

Updates the password for the user.


/api/v2/admin/users/{userId}/password

Usage and SDK Samples

curl -X PATCH\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/admin/users/{userId}/password"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AdminOperationsApi;

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

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword2(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#updateUserPassword2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AdminOperationsApi;

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword2(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#updateUserPassword2");
            e.printStackTrace();
        }
    }
}
UpdatePasswordRequest *body = ; // 
String *userId = userId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Updates the password for the user.
[apiInstance updateUserPassword2With:body
    userId:userId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.AdminOperationsApi()
var body = ; // {{UpdatePasswordRequest}} 
var userId = userId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateUserPassword2(bodyuserId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AdminOperationsApi();
            var body = new UpdatePasswordRequest(); // UpdatePasswordRequest | 
            var userId = userId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the password for the user.
                apiInstance.updateUserPassword2(body, userId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AdminOperationsApi.updateUserPassword2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAdminOperationsApi();
$body = ; // UpdatePasswordRequest | 
$userId = userId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AdminOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UpdatePasswordRequest->new(); # UpdatePasswordRequest | 
my $userId = userId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->updateUserPassword2(body => $body, userId => $userId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling AdminOperationsApi->updateUserPassword2: $@\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.AdminOperationsApi()
body =  # UpdatePasswordRequest | 
userId = userId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the password for the user.
    api_instance.update_user_password2(body, userId, authorization=authorization)
except ApiException as e:
    print("Exception when calling AdminOperationsApi->updateUserPassword2: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Password updated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


updateUserPassword3

Updates the password for the user.


/api/v1/admin/users/{userId}/password

Usage and SDK Samples

curl -X PATCH\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/admin/users/{userId}/password"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AdminOperationsApi;

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

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword3(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#updateUserPassword3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AdminOperationsApi;

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword3(body, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#updateUserPassword3");
            e.printStackTrace();
        }
    }
}
UpdatePasswordRequest *body = ; // 
String *userId = userId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Updates the password for the user.
[apiInstance updateUserPassword3With:body
    userId:userId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.AdminOperationsApi()
var body = ; // {{UpdatePasswordRequest}} 
var userId = userId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateUserPassword3(bodyuserId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AdminOperationsApi();
            var body = new UpdatePasswordRequest(); // UpdatePasswordRequest | 
            var userId = userId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the password for the user.
                apiInstance.updateUserPassword3(body, userId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AdminOperationsApi.updateUserPassword3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAdminOperationsApi();
$body = ; // UpdatePasswordRequest | 
$userId = userId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AdminOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UpdatePasswordRequest->new(); # UpdatePasswordRequest | 
my $userId = userId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->updateUserPassword3(body => $body, userId => $userId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling AdminOperationsApi->updateUserPassword3: $@\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.AdminOperationsApi()
body =  # UpdatePasswordRequest | 
userId = userId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the password for the user.
    api_instance.update_user_password3(body, userId, authorization=authorization)
except ApiException as e:
    print("Exception when calling AdminOperationsApi->updateUserPassword3: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Password updated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


uploadKeytab2

Uploads a keytab file for the user with the given credentials.


/api/v1/admin/users/{userId}/keytab/upload

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/admin/users/{userId}/keytab/upload"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AdminOperationsApi;

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

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        String userId = userId_example; // String | 
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab2(userId, principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#uploadKeytab2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AdminOperationsApi;

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        String userId = userId_example; // String | 
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab2(userId, principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#uploadKeytab2");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // 
String *principal = principal_example; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Uploads a keytab file for the user with the given credentials.
[apiInstance uploadKeytab2With:userId
    principal:principal
    file:file
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.AdminOperationsApi()
var userId = userId_example; // {{String}} 
var opts = { 
  'principal': principal_example // {{String}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadKeytab2(userId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AdminOperationsApi();
            var userId = userId_example;  // String | 
            var principal = principal_example;  // String |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Uploads a keytab file for the user with the given credentials.
                apiInstance.uploadKeytab2(userId, principal, file, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AdminOperationsApi.uploadKeytab2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAdminOperationsApi();
$userId = userId_example; // String | 
$principal = principal_example; // String | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AdminOperationsApi->new();
my $userId = userId_example; # String | 
my $principal = principal_example; # String | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->uploadKeytab2(userId => $userId, principal => $principal, file => $file, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling AdminOperationsApi->uploadKeytab2: $@\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.AdminOperationsApi()
userId = userId_example # String | 
principal = principal_example # String |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Uploads a keytab file for the user with the given credentials.
    api_instance.upload_keytab2(userId, principal=principal, file=file, authorization=authorization)
except ApiException as e:
    print("Exception when calling AdminOperationsApi->uploadKeytab2: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
String
Required
Header parameters
Name Description
Authorization
String
Form parameters
Name Description
principal
String
file
byte[] (binary)

Responses

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.

Status: 200 - Keytab uploaded successfully.


uploadKeytab3

Uploads a keytab file for the user with the given credentials.


/api/v2/admin/users/{userId}/keytab/upload

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/admin/users/{userId}/keytab/upload"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.AdminOperationsApi;

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

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        String userId = userId_example; // String | 
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab3(userId, principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#uploadKeytab3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.AdminOperationsApi;

public class AdminOperationsApiExample {

    public static void main(String[] args) {
        AdminOperationsApi apiInstance = new AdminOperationsApi();
        String userId = userId_example; // String | 
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab3(userId, principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling AdminOperationsApi#uploadKeytab3");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // 
String *principal = principal_example; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Uploads a keytab file for the user with the given credentials.
[apiInstance uploadKeytab3With:userId
    principal:principal
    file:file
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.AdminOperationsApi()
var userId = userId_example; // {{String}} 
var opts = { 
  'principal': principal_example // {{String}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadKeytab3(userId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new AdminOperationsApi();
            var userId = userId_example;  // String | 
            var principal = principal_example;  // String |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Uploads a keytab file for the user with the given credentials.
                apiInstance.uploadKeytab3(userId, principal, file, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling AdminOperationsApi.uploadKeytab3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiAdminOperationsApi();
$userId = userId_example; // String | 
$principal = principal_example; // String | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::AdminOperationsApi->new();
my $userId = userId_example; # String | 
my $principal = principal_example; # String | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->uploadKeytab3(userId => $userId, principal => $principal, file => $file, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling AdminOperationsApi->uploadKeytab3: $@\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.AdminOperationsApi()
userId = userId_example # String | 
principal = principal_example # String |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Uploads a keytab file for the user with the given credentials.
    api_instance.upload_keytab3(userId, principal=principal, file=file, authorization=authorization)
except ApiException as e:
    print("Exception when calling AdminOperationsApi->uploadKeytab3: %s\n" % e)

Parameters

Path parameters
Name Description
userId*
String
Required
Header parameters
Name Description
Authorization
String
Form parameters
Name Description
principal
String
file
byte[] (binary)

Responses

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.

Status: 200 - Keytab uploaded successfully.


ArtifactOperations

deleteArtifact

Delete an artifact that is available to the user.


/api/v1/artifacts

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/artifacts?artifactName=&scope="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ArtifactOperationsApi;

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

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String artifactName = artifactName_example; // String | 
        String scope = scope_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteArtifact(artifactName, scope, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#deleteArtifact");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ArtifactOperationsApi;

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String artifactName = artifactName_example; // String | 
        String scope = scope_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteArtifact(artifactName, scope, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#deleteArtifact");
            e.printStackTrace();
        }
    }
}
String *artifactName = artifactName_example; // 
String *scope = scope_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Delete an artifact that is available to the user.
[apiInstance deleteArtifactWith:artifactName
    scope:scope
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ArtifactOperationsApi()
var artifactName = artifactName_example; // {{String}} 
var opts = { 
  'scope': scope_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteArtifact(artifactName, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ArtifactOperationsApi();
            var artifactName = artifactName_example;  // String | 
            var scope = scope_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete an artifact that is available to the user.
                apiInstance.deleteArtifact(artifactName, scope, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ArtifactOperationsApi.deleteArtifact: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiArtifactOperationsApi();
$artifactName = artifactName_example; // String | 
$scope = scope_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ArtifactOperationsApi->new();
my $artifactName = artifactName_example; # String | 
my $scope = scope_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteArtifact(artifactName => $artifactName, scope => $scope, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ArtifactOperationsApi->deleteArtifact: $@\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.ArtifactOperationsApi()
artifactName = artifactName_example # String | 
scope = scope_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Delete an artifact that is available to the user.
    api_instance.delete_artifact(artifactName, scope=scope, authorization=authorization)
except ApiException as e:
    print("Exception when calling ArtifactOperationsApi->deleteArtifact: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
artifactName*
String
Required
scope
String

Responses

Status: 404 - Artifact not found.

Status: 200 - Artifact successfully deleted

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteArtifactV2

Delete an artifact that is available to the user.


/api/v2/artifacts

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/artifacts?name=&scope=&projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ArtifactOperationsApi;

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

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String name = name_example; // String | 
        String scope = scope_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteArtifactV2(name, scope, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#deleteArtifactV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ArtifactOperationsApi;

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String name = name_example; // String | 
        String scope = scope_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteArtifactV2(name, scope, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#deleteArtifactV2");
            e.printStackTrace();
        }
    }
}
String *name = name_example; // 
String *scope = scope_example; //  (optional) (default to USER)
String *projectId = projectId_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Delete an artifact that is available to the user.
[apiInstance deleteArtifactV2With:name
    scope:scope
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ArtifactOperationsApi()
var name = name_example; // {{String}} 
var opts = { 
  'scope': scope_example, // {{String}} 
  'projectId': projectId_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteArtifactV2(name, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ArtifactOperationsApi();
            var name = name_example;  // String | 
            var scope = scope_example;  // String |  (optional)  (default to USER)
            var projectId = projectId_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete an artifact that is available to the user.
                apiInstance.deleteArtifactV2(name, scope, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ArtifactOperationsApi.deleteArtifactV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiArtifactOperationsApi();
$name = name_example; // String | 
$scope = scope_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteArtifactV2($name, $scope, $projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling ArtifactOperationsApi->deleteArtifactV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::ArtifactOperationsApi->new();
my $name = name_example; # String | 
my $scope = scope_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteArtifactV2(name => $name, scope => $scope, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ArtifactOperationsApi->deleteArtifactV2: $@\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.ArtifactOperationsApi()
name = name_example # String | 
scope = scope_example # String |  (optional) (default to USER)
projectId = projectId_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Delete an artifact that is available to the user.
    api_instance.delete_artifact_v2(name, scope=scope, projectId=projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ArtifactOperationsApi->deleteArtifactV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
name*
String
Required
scope
String
projectId
String

Responses

Status: 404 - Artifact not found.

Status: 200 - Artifact successfully deleted

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getArtifact

Lists artifacts available to the user. They can be filtered by scope or name.


/api/v1/artifacts

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/artifacts?artifactName=&scope="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ArtifactOperationsApi;

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

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String artifactName = artifactName_example; // String | 
        String scope = scope_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[ArtifactDto] result = apiInstance.getArtifact(artifactName, scope, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#getArtifact");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ArtifactOperationsApi;

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String artifactName = artifactName_example; // String | 
        String scope = scope_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[ArtifactDto] result = apiInstance.getArtifact(artifactName, scope, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#getArtifact");
            e.printStackTrace();
        }
    }
}
String *artifactName = artifactName_example; //  (optional)
String *scope = scope_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Lists artifacts available to the user. They can be filtered by scope or name.
[apiInstance getArtifactWith:artifactName
    scope:scope
    authorization:authorization
              completionHandler: ^(array[ArtifactDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ArtifactOperationsApi()
var opts = { 
  'artifactName': artifactName_example, // {{String}} 
  'scope': scope_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getArtifact(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ArtifactOperationsApi();
            var artifactName = artifactName_example;  // String |  (optional) 
            var scope = scope_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Lists artifacts available to the user. They can be filtered by scope or name.
                array[ArtifactDto] result = apiInstance.getArtifact(artifactName, scope, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ArtifactOperationsApi.getArtifact: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiArtifactOperationsApi();
$artifactName = artifactName_example; // String | 
$scope = scope_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ArtifactOperationsApi->new();
my $artifactName = artifactName_example; # String | 
my $scope = scope_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getArtifact(artifactName => $artifactName, scope => $scope, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ArtifactOperationsApi->getArtifact: $@\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.ArtifactOperationsApi()
artifactName = artifactName_example # String |  (optional)
scope = scope_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Lists artifacts available to the user. They can be filtered by scope or name.
    api_response = api_instance.get_artifact(artifactName=artifactName, scope=scope, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArtifactOperationsApi->getArtifact: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
artifactName
String
scope
String

Responses

Status: 400 - Invalid request format.

Status: 200 - A list of artifacts matching the criteria.

Status: 404 - Artifact not found (if filtering by name).

Status: 500 - Unexpected server error.


getArtifactV2

Lists artifacts available to the user. They can be filtered by scope or name.


/api/v2/artifacts

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/artifacts?name=&scope=&projectId="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ArtifactOperationsApi;

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

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String name = name_example; // String | 
        String scope = scope_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[ArtifactDto] result = apiInstance.getArtifactV2(name, scope, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#getArtifactV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ArtifactOperationsApi;

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        String name = name_example; // String | 
        String scope = scope_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[ArtifactDto] result = apiInstance.getArtifactV2(name, scope, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#getArtifactV2");
            e.printStackTrace();
        }
    }
}
String *name = name_example; //  (optional)
String *scope = scope_example; //  (optional) (default to USER)
String *projectId = projectId_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Lists artifacts available to the user. They can be filtered by scope or name.
[apiInstance getArtifactV2With:name
    scope:scope
    projectId:projectId
    authorization:authorization
              completionHandler: ^(array[ArtifactDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ArtifactOperationsApi()
var opts = { 
  'name': name_example, // {{String}} 
  'scope': scope_example, // {{String}} 
  'projectId': projectId_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getArtifactV2(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ArtifactOperationsApi();
            var name = name_example;  // String |  (optional) 
            var scope = scope_example;  // String |  (optional)  (default to USER)
            var projectId = projectId_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Lists artifacts available to the user. They can be filtered by scope or name.
                array[ArtifactDto] result = apiInstance.getArtifactV2(name, scope, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ArtifactOperationsApi.getArtifactV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiArtifactOperationsApi();
$name = name_example; // String | 
$scope = scope_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getArtifactV2($name, $scope, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ArtifactOperationsApi->getArtifactV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::ArtifactOperationsApi->new();
my $name = name_example; # String | 
my $scope = scope_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getArtifactV2(name => $name, scope => $scope, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ArtifactOperationsApi->getArtifactV2: $@\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.ArtifactOperationsApi()
name = name_example # String |  (optional)
scope = scope_example # String |  (optional) (default to USER)
projectId = projectId_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Lists artifacts available to the user. They can be filtered by scope or name.
    api_response = api_instance.get_artifact_v2(name=name, scope=scope, projectId=projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArtifactOperationsApi->getArtifactV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
name
String
scope
String
projectId
String

Responses

Status: 400 - Invalid request format.

Status: 200 - A list of artifacts matching the criteria.

Status: 404 - Artifact not found (if filtering by name).

Status: 500 - Unexpected server error.


uploadArtifact

Upload an artifact file.


/api/v1/artifacts

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/artifacts?artifactName=&scope="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ArtifactOperationsApi;

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

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        String artifactName = artifactName_example; // String | 
        String scope = scope_example; // String | 
        try {
            ArtifactDto result = apiInstance.uploadArtifact(file, authorization, artifactName, scope);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#uploadArtifact");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ArtifactOperationsApi;

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        String artifactName = artifactName_example; // String | 
        String scope = scope_example; // String | 
        try {
            ArtifactDto result = apiInstance.uploadArtifact(file, authorization, artifactName, scope);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#uploadArtifact");
            e.printStackTrace();
        }
    }
}
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)
String *artifactName = artifactName_example; //  (optional)
String *scope = scope_example; //  (optional) (default to USER)

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

// Upload an artifact file.
[apiInstance uploadArtifactWith:file
    authorization:authorization
    artifactName:artifactName
    scope:scope
              completionHandler: ^(ArtifactDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ArtifactOperationsApi()
var opts = { 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
  'artifactName': artifactName_example // {{String}} 
  'scope': scope_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.uploadArtifact(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ArtifactOperationsApi();
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 
            var artifactName = artifactName_example;  // String |  (optional) 
            var scope = scope_example;  // String |  (optional)  (default to USER)

            try
            {
                // Upload an artifact file.
                ArtifactDto result = apiInstance.uploadArtifact(file, authorization, artifactName, scope);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ArtifactOperationsApi.uploadArtifact: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiArtifactOperationsApi();
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 
$artifactName = artifactName_example; // String | 
$scope = scope_example; // String | 

try {
    $result = $api_instance->uploadArtifact($file, $authorization, $artifactName, $scope);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ArtifactOperationsApi->uploadArtifact: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::ArtifactOperationsApi->new();
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 
my $artifactName = artifactName_example; # String | 
my $scope = scope_example; # String | 

eval { 
    my $result = $api_instance->uploadArtifact(file => $file, authorization => $authorization, artifactName => $artifactName, scope => $scope);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ArtifactOperationsApi->uploadArtifact: $@\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.ArtifactOperationsApi()
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)
artifactName = artifactName_example # String |  (optional)
scope = scope_example # String |  (optional) (default to USER)

try: 
    # Upload an artifact file.
    api_response = api_instance.upload_artifact(file=file, authorization=authorization, artifactName=artifactName, scope=scope)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArtifactOperationsApi->uploadArtifact: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
file
byte[] (binary)
Query parameters
Name Description
artifactName
String
scope
String

Responses

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error. Unsuccessful artifact upload.

Status: 200 - Successful artifact upload.


uploadArtifactV2

Upload an artifact file.


/api/v2/artifacts

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/artifacts"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ArtifactOperationsApi;

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

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        UploadArtifactRequest data = ; // UploadArtifactRequest | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            ArtifactDto result = apiInstance.uploadArtifactV2(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#uploadArtifactV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ArtifactOperationsApi;

public class ArtifactOperationsApiExample {

    public static void main(String[] args) {
        ArtifactOperationsApi apiInstance = new ArtifactOperationsApi();
        UploadArtifactRequest data = ; // UploadArtifactRequest | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            ArtifactDto result = apiInstance.uploadArtifactV2(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ArtifactOperationsApi#uploadArtifactV2");
            e.printStackTrace();
        }
    }
}
UploadArtifactRequest *data = ; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Upload an artifact file.
[apiInstance uploadArtifactV2With:data
    file:file
    authorization:authorization
              completionHandler: ^(ArtifactDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ArtifactOperationsApi()
var opts = { 
  'data':  // {{UploadArtifactRequest}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.uploadArtifactV2(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ArtifactOperationsApi();
            var data = new UploadArtifactRequest(); // UploadArtifactRequest |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Upload an artifact file.
                ArtifactDto result = apiInstance.uploadArtifactV2(data, file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ArtifactOperationsApi.uploadArtifactV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiArtifactOperationsApi();
$data = ; // UploadArtifactRequest | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ArtifactOperationsApi->new();
my $data = ; # UploadArtifactRequest | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->uploadArtifactV2(data => $data, file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ArtifactOperationsApi->uploadArtifactV2: $@\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.ArtifactOperationsApi()
data =  # UploadArtifactRequest |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Upload an artifact file.
    api_response = api_instance.upload_artifact_v2(data=data, file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ArtifactOperationsApi->uploadArtifactV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
data
UploadArtifactRequest
file
byte[] (binary)

Responses

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error. Unsuccessful artifact upload.

Status: 200 - Successful artifact upload.


ConnectorOperations

createConnector

Creates a Connector.


/api/v1/ddl/connectors

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/connectors"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        ConnectorDto data = ; // ConnectorDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.createConnector(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#createConnector");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        ConnectorDto data = ; // ConnectorDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.createConnector(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#createConnector");
            e.printStackTrace();
        }
    }
}
ConnectorDto *data = ; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Creates a Connector.
[apiInstance createConnectorWith:data
    file:file
    authorization:authorization
              completionHandler: ^(ConnectorDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var opts = { 
  'data':  // {{ConnectorDto}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createConnector(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var data = new ConnectorDto(); // ConnectorDto |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a Connector.
                ConnectorDto result = apiInstance.createConnector(data, file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.createConnector: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$data = ; // ConnectorDto | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $data = ; # ConnectorDto | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createConnector(data => $data, file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->createConnector: $@\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.ConnectorOperationsApi()
data =  # ConnectorDto |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Creates a Connector.
    api_response = api_instance.create_connector(data=data, file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->createConnector: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
data
ConnectorDto
file
byte[] (binary)

Responses

Status: 400 - Invalid request format.

Status: 200 - The Connector was successfully created.

Status: 500 - Unexpected server error.


createConnector1

Creates a Connector.


/api/v2/ddl/connectors

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/connectors"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        ConnectorDto data = ; // ConnectorDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.createConnector1(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#createConnector1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        ConnectorDto data = ; // ConnectorDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.createConnector1(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#createConnector1");
            e.printStackTrace();
        }
    }
}
ConnectorDto *data = ; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Creates a Connector.
[apiInstance createConnector1With:data
    file:file
    authorization:authorization
              completionHandler: ^(ConnectorDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var opts = { 
  'data':  // {{ConnectorDto}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createConnector1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var data = new ConnectorDto(); // ConnectorDto |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a Connector.
                ConnectorDto result = apiInstance.createConnector1(data, file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.createConnector1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$data = ; // ConnectorDto | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $data = ; # ConnectorDto | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createConnector1(data => $data, file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->createConnector1: $@\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.ConnectorOperationsApi()
data =  # ConnectorDto |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Creates a Connector.
    api_response = api_instance.create_connector1(data=data, file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->createConnector1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
data
ConnectorDto
file
byte[] (binary)

Responses

Status: 400 - Invalid request format.

Status: 200 - The Connector was successfully created.

Status: 500 - Unexpected server error.


deleteConnectorById

Deletes a Connector by ID.


/api/v1/ddl/connectors/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/connectors/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Connector by ID.
[apiInstance deleteConnectorByIdWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteConnectorById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Connector by ID.
                apiInstance.deleteConnectorById(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.deleteConnectorById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteConnectorById(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->deleteConnectorById: $@\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.ConnectorOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Connector by ID.
    api_instance.delete_connector_by_id(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->deleteConnectorById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteConnectorById1

Deletes a Connector by ID.


/api/v2/ddl/connectors/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/connectors/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorById1(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorById1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorById1(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorById1");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Connector by ID.
[apiInstance deleteConnectorById1With:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteConnectorById1(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Connector by ID.
                apiInstance.deleteConnectorById1(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.deleteConnectorById1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteConnectorById1(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->deleteConnectorById1: $@\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.ConnectorOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Connector by ID.
    api_instance.delete_connector_by_id1(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->deleteConnectorById1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteConnectorByType

Deletes a Connector by type.


/api/v2/ddl/connectors/type/{type}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/connectors/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorByType(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorByType");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorByType(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorByType");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Connector by type.
[apiInstance deleteConnectorByTypeWith:type
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteConnectorByType(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Connector by type.
                apiInstance.deleteConnectorByType(type, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.deleteConnectorByType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteConnectorByType(type => $type, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->deleteConnectorByType: $@\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.ConnectorOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Connector by type.
    api_instance.delete_connector_by_type(type, authorization=authorization)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->deleteConnectorByType: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteConnectorByType1

Deletes a Connector by type.


/api/v1/ddl/connectors/type/{type}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/connectors/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorByType1(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorByType1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteConnectorByType1(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#deleteConnectorByType1");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Connector by type.
[apiInstance deleteConnectorByType1With:type
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteConnectorByType1(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Connector by type.
                apiInstance.deleteConnectorByType1(type, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.deleteConnectorByType1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteConnectorByType1(type => $type, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->deleteConnectorByType1: $@\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.ConnectorOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Connector by type.
    api_instance.delete_connector_by_type1(type, authorization=authorization)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->deleteConnectorByType1: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getConnectorById

Retrieves a Connector by ID.


/api/v1/ddl/connectors/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/connectors/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector by ID.
[apiInstance getConnectorByIdWith:id
    authorization:authorization
              completionHandler: ^(ConnectorDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectorById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector by ID.
                ConnectorDto result = apiInstance.getConnectorById(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectorById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConnectorById(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectorById: $@\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.ConnectorOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector by ID.
    api_response = api_instance.get_connector_by_id(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectorById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getConnectorById1

Retrieves a Connector by ID.


/api/v2/ddl/connectors/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/connectors/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorById1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorById1");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector by ID.
[apiInstance getConnectorById1With:id
    authorization:authorization
              completionHandler: ^(ConnectorDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectorById1(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector by ID.
                ConnectorDto result = apiInstance.getConnectorById1(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectorById1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConnectorById1(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectorById1: $@\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.ConnectorOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector by ID.
    api_response = api_instance.get_connector_by_id1(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectorById1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getConnectorByType

Retrieves a Connector by type.


/api/v2/ddl/connectors/type/{type}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/connectors/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorByType(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorByType");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorByType(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorByType");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector by type.
[apiInstance getConnectorByTypeWith:type
    authorization:authorization
              completionHandler: ^(ConnectorDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectorByType(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector by type.
                ConnectorDto result = apiInstance.getConnectorByType(type, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectorByType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConnectorByType(type => $type, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectorByType: $@\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.ConnectorOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector by type.
    api_response = api_instance.get_connector_by_type(type, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectorByType: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getConnectorByType1

Retrieves a Connector by type.


/api/v1/ddl/connectors/type/{type}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/connectors/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorByType1(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorByType1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ConnectorDto result = apiInstance.getConnectorByType1(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorByType1");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector by type.
[apiInstance getConnectorByType1With:type
    authorization:authorization
              completionHandler: ^(ConnectorDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectorByType1(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector by type.
                ConnectorDto result = apiInstance.getConnectorByType1(type, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectorByType1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConnectorByType1(type => $type, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectorByType1: $@\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.ConnectorOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector by type.
    api_response = api_instance.get_connector_by_type1(type, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectorByType1: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getConnectorJarFile

Retrieves a Connector JAR file. Connector type must be specified.


/api/v1/ddl/connectors/jar/{type}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/connectors/jar/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.getConnectorJarFile(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorJarFile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.getConnectorJarFile(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorJarFile");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector JAR file. Connector type must be specified.
[apiInstance getConnectorJarFileWith:type
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getConnectorJarFile(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector JAR file. Connector type must be specified.
                apiInstance.getConnectorJarFile(type, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectorJarFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->getConnectorJarFile(type => $type, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectorJarFile: $@\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.ConnectorOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector JAR file. Connector type must be specified.
    api_instance.get_connector_jar_file(type, authorization=authorization)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectorJarFile: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getConnectorJarFile1

Retrieves a Connector JAR file. Connector type must be specified.


/api/v2/ddl/connectors/jar/{type}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/connectors/jar/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.getConnectorJarFile1(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorJarFile1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.getConnectorJarFile1(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectorJarFile1");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector JAR file. Connector type must be specified.
[apiInstance getConnectorJarFile1With:type
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.getConnectorJarFile1(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector JAR file. Connector type must be specified.
                apiInstance.getConnectorJarFile1(type, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectorJarFile1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->getConnectorJarFile1(type => $type, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectorJarFile1: $@\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.ConnectorOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector JAR file. Connector type must be specified.
    api_instance.get_connector_jar_file1(type, authorization=authorization)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectorJarFile1: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getConnectors

Retrieves all connectors.


/api/v1/ddl/connectors

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/connectors"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ConnectorDto] result = apiInstance.getConnectors(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectors");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ConnectorDto] result = apiInstance.getConnectors(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectors");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves all connectors.
[apiInstance getConnectorsWith:authorization
              completionHandler: ^(array[ConnectorDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectors(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all connectors.
                array[ConnectorDto] result = apiInstance.getConnectors(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectors: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConnectors(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectors: $@\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.ConnectorOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all connectors.
    api_response = api_instance.get_connectors(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectors: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getConnectors1

Retrieves all connectors.


/api/v2/ddl/connectors

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/connectors"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ConnectorOperationsApi;

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

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ConnectorDto] result = apiInstance.getConnectors1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectors1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ConnectorOperationsApi;

public class ConnectorOperationsApiExample {

    public static void main(String[] args) {
        ConnectorOperationsApi apiInstance = new ConnectorOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ConnectorDto] result = apiInstance.getConnectors1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ConnectorOperationsApi#getConnectors1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves all connectors.
[apiInstance getConnectors1With:authorization
              completionHandler: ^(array[ConnectorDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ConnectorOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConnectors1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ConnectorOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all connectors.
                array[ConnectorDto] result = apiInstance.getConnectors1(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ConnectorOperationsApi.getConnectors1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiConnectorOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ConnectorOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConnectors1(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ConnectorOperationsApi->getConnectors1: $@\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.ConnectorOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all connectors.
    api_response = api_instance.get_connectors1(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ConnectorOperationsApi->getConnectors1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


DataFormatOperations

createDataFormat

Creates a Data Format.


/api/v1/ddl/data-formats

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/data-formats"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        DataFormatDto data = ; // DataFormatDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.createDataFormat(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#createDataFormat");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        DataFormatDto data = ; // DataFormatDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.createDataFormat(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#createDataFormat");
            e.printStackTrace();
        }
    }
}
DataFormatDto *data = ; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Creates a Data Format.
[apiInstance createDataFormatWith:data
    file:file
    authorization:authorization
              completionHandler: ^(DataFormatDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var opts = { 
  'data':  // {{DataFormatDto}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createDataFormat(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var data = new DataFormatDto(); // DataFormatDto |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a Data Format.
                DataFormatDto result = apiInstance.createDataFormat(data, file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.createDataFormat: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$data = ; // DataFormatDto | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $data = ; # DataFormatDto | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createDataFormat(data => $data, file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->createDataFormat: $@\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.DataFormatOperationsApi()
data =  # DataFormatDto |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Creates a Data Format.
    api_response = api_instance.create_data_format(data=data, file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->createDataFormat: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
data
DataFormatDto
file
byte[] (binary)

Responses

Status: 200 - The Data Format was successfully created.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


createDataFormat1

Creates a Data Format.


/api/v2/ddl/data-formats

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/data-formats"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        DataFormatDto data = ; // DataFormatDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.createDataFormat1(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#createDataFormat1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        DataFormatDto data = ; // DataFormatDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.createDataFormat1(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#createDataFormat1");
            e.printStackTrace();
        }
    }
}
DataFormatDto *data = ; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Creates a Data Format.
[apiInstance createDataFormat1With:data
    file:file
    authorization:authorization
              completionHandler: ^(DataFormatDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var opts = { 
  'data':  // {{DataFormatDto}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createDataFormat1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var data = new DataFormatDto(); // DataFormatDto |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a Data Format.
                DataFormatDto result = apiInstance.createDataFormat1(data, file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.createDataFormat1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$data = ; // DataFormatDto | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $data = ; # DataFormatDto | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createDataFormat1(data => $data, file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->createDataFormat1: $@\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.DataFormatOperationsApi()
data =  # DataFormatDto |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Creates a Data Format.
    api_response = api_instance.create_data_format1(data=data, file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->createDataFormat1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
data
DataFormatDto
file
byte[] (binary)

Responses

Status: 200 - The Data Format was successfully created.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteDataFormatById

Deletes a Data Format by ID.


/api/v2/ddl/data-formats/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/data-formats/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Data Format by ID.
[apiInstance deleteDataFormatByIdWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteDataFormatById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Data Format by ID.
                apiInstance.deleteDataFormatById(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.deleteDataFormatById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteDataFormatById(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->deleteDataFormatById: $@\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.DataFormatOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Data Format by ID.
    api_instance.delete_data_format_by_id(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->deleteDataFormatById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteDataFormatById1

Deletes a Data Format by ID.


/api/v1/ddl/data-formats/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/data-formats/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatById1(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatById1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatById1(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatById1");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Data Format by ID.
[apiInstance deleteDataFormatById1With:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteDataFormatById1(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Data Format by ID.
                apiInstance.deleteDataFormatById1(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.deleteDataFormatById1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteDataFormatById1(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->deleteDataFormatById1: $@\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.DataFormatOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Data Format by ID.
    api_instance.delete_data_format_by_id1(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->deleteDataFormatById1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteDataFormatByType

Deletes a Data Format by type.


/api/v2/ddl/data-formats/type/{type}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/data-formats/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatByType(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatByType");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatByType(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatByType");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Data Format by type.
[apiInstance deleteDataFormatByTypeWith:type
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteDataFormatByType(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Data Format by type.
                apiInstance.deleteDataFormatByType(type, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.deleteDataFormatByType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteDataFormatByType(type => $type, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->deleteDataFormatByType: $@\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.DataFormatOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Data Format by type.
    api_instance.delete_data_format_by_type(type, authorization=authorization)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->deleteDataFormatByType: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteDataFormatByType1

Deletes a Data Format by type.


/api/v1/ddl/data-formats/type/{type}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/data-formats/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatByType1(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatByType1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataFormatByType1(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#deleteDataFormatByType1");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Data Format by type.
[apiInstance deleteDataFormatByType1With:type
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteDataFormatByType1(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Data Format by type.
                apiInstance.deleteDataFormatByType1(type, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.deleteDataFormatByType1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteDataFormatByType1(type => $type, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->deleteDataFormatByType1: $@\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.DataFormatOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Data Format by type.
    api_instance.delete_data_format_by_type1(type, authorization=authorization)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->deleteDataFormatByType1: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getDataFormatById

Retrieves a Data Format by ID.


/api/v2/ddl/data-formats/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/data-formats/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Data Format by ID.
[apiInstance getDataFormatByIdWith:id
    authorization:authorization
              completionHandler: ^(DataFormatDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataFormatById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Data Format by ID.
                DataFormatDto result = apiInstance.getDataFormatById(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.getDataFormatById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataFormatById(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->getDataFormatById: $@\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.DataFormatOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Data Format by ID.
    api_response = api_instance.get_data_format_by_id(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->getDataFormatById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getDataFormatById1

Retrieves a Data Format by ID.


/api/v1/ddl/data-formats/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/data-formats/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatById1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatById1");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Data Format by ID.
[apiInstance getDataFormatById1With:id
    authorization:authorization
              completionHandler: ^(DataFormatDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataFormatById1(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Data Format by ID.
                DataFormatDto result = apiInstance.getDataFormatById1(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.getDataFormatById1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataFormatById1(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->getDataFormatById1: $@\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.DataFormatOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Data Format by ID.
    api_response = api_instance.get_data_format_by_id1(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->getDataFormatById1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getDataFormatByType

Retrieves a Connector by type.


/api/v2/ddl/data-formats/type/{type}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/data-formats/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatByType(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatByType");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatByType(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatByType");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector by type.
[apiInstance getDataFormatByTypeWith:type
    authorization:authorization
              completionHandler: ^(DataFormatDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataFormatByType(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector by type.
                DataFormatDto result = apiInstance.getDataFormatByType(type, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.getDataFormatByType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataFormatByType(type => $type, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->getDataFormatByType: $@\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.DataFormatOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector by type.
    api_response = api_instance.get_data_format_by_type(type, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->getDataFormatByType: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getDataFormatByType1

Retrieves a Connector by type.


/api/v1/ddl/data-formats/type/{type}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/data-formats/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatByType1(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatByType1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataFormatDto result = apiInstance.getDataFormatByType1(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormatByType1");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a Connector by type.
[apiInstance getDataFormatByType1With:type
    authorization:authorization
              completionHandler: ^(DataFormatDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataFormatByType1(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a Connector by type.
                DataFormatDto result = apiInstance.getDataFormatByType1(type, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.getDataFormatByType1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataFormatByType1(type => $type, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->getDataFormatByType1: $@\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.DataFormatOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a Connector by type.
    api_response = api_instance.get_data_format_by_type1(type, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->getDataFormatByType1: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getDataFormats

Retrieves all Data Formats.


/api/v1/ddl/data-formats

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/ddl/data-formats"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataFormatDto] result = apiInstance.getDataFormats(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormats");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataFormatDto] result = apiInstance.getDataFormats(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormats");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves all Data Formats.
[apiInstance getDataFormatsWith:authorization
              completionHandler: ^(array[DataFormatDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataFormats(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all Data Formats.
                array[DataFormatDto] result = apiInstance.getDataFormats(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.getDataFormats: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataFormats(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->getDataFormats: $@\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.DataFormatOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all Data Formats.
    api_response = api_instance.get_data_formats(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->getDataFormats: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getDataFormats1

Retrieves all Data Formats.


/api/v2/ddl/data-formats

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/ddl/data-formats"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataFormatOperationsApi;

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

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataFormatDto] result = apiInstance.getDataFormats1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormats1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataFormatOperationsApi;

public class DataFormatOperationsApiExample {

    public static void main(String[] args) {
        DataFormatOperationsApi apiInstance = new DataFormatOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataFormatDto] result = apiInstance.getDataFormats1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataFormatOperationsApi#getDataFormats1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves all Data Formats.
[apiInstance getDataFormats1With:authorization
              completionHandler: ^(array[DataFormatDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataFormatOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataFormats1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataFormatOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all Data Formats.
                array[DataFormatDto] result = apiInstance.getDataFormats1(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataFormatOperationsApi.getDataFormats1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataFormatOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataFormatOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataFormats1(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataFormatOperationsApi->getDataFormats1: $@\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.DataFormatOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all Data Formats.
    api_response = api_instance.get_data_formats1(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataFormatOperationsApi->getDataFormats1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


DataSourceOperations

copyDataSource

Creates a copy of a data source in the active project.


/api/v1/data-sources/{id}/copy

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources/{id}/copy"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.copyDataSource(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#copyDataSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.copyDataSource(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#copyDataSource");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a copy of a data source in the active project.
[apiInstance copyDataSourceWith:id
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var id = id_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.copyDataSource(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var id = id_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a copy of a data source in the active project.
                DataSourceDto result = apiInstance.copyDataSource(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.copyDataSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$id = id_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $id = id_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->copyDataSource(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->copyDataSource: $@\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.DataSourceOperationsApi()
id = id_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a copy of a data source in the active project.
    api_response = api_instance.copy_data_source(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->copyDataSource: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid data source configuration.

Status: 200 - Data sources copied successfully.

Status: 404 - Data source not found.

Status: 500 - Unexpected server error.


copyDataSourceV2

Creates a copy of a data source in the specified project.


/api/v2/projects/{projectId}/data-sources/{id}/copy

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources/{id}/copy"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.copyDataSourceV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#copyDataSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.copyDataSourceV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#copyDataSourceV2");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a copy of a data source in the specified project.
[apiInstance copyDataSourceV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var id = id_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.copyDataSourceV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var id = id_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a copy of a data source in the specified project.
                DataSourceDto result = apiInstance.copyDataSourceV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.copyDataSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$id = id_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $id = id_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->copyDataSourceV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->copyDataSourceV2: $@\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.DataSourceOperationsApi()
id = id_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a copy of a data source in the specified project.
    api_response = api_instance.copy_data_source_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->copyDataSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid data source configuration.

Status: 200 - Data sources copied successfully.

Status: 404 - Data source not found.

Status: 500 - Unexpected server error.


createDataSource

Creates a data source in the active project.


/api/v1/data-sources

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceDto body = ; // DataSourceDto | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.createDataSource(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#createDataSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceDto body = ; // DataSourceDto | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.createDataSource(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#createDataSource");
            e.printStackTrace();
        }
    }
}
DataSourceDto *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a data source in the active project.
[apiInstance createDataSourceWith:body
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var body = ; // {{DataSourceDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createDataSource(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var body = new DataSourceDto(); // DataSourceDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a data source in the active project.
                DataSourceDto result = apiInstance.createDataSource(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.createDataSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$body = ; // DataSourceDto | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $body = WWW::SwaggerClient::Object::DataSourceDto->new(); # DataSourceDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createDataSource(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->createDataSource: $@\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.DataSourceOperationsApi()
body =  # DataSourceDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a data source in the active project.
    api_response = api_instance.create_data_source(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->createDataSource: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid data source configuration.

Status: 500 - Unexpected server error.

Status: 200 - Data sources created successfully.


createDataSourceV2

Creates a data source in the specified project.


/api/v2/projects/{projectId}/data-sources

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceSyncDto body = ; // DataSourceSyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.createDataSourceV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#createDataSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceSyncDto body = ; // DataSourceSyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.createDataSourceV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#createDataSourceV2");
            e.printStackTrace();
        }
    }
}
DataSourceSyncDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a data source in the specified project.
[apiInstance createDataSourceV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var body = ; // {{DataSourceSyncDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createDataSourceV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var body = new DataSourceSyncDto(); // DataSourceSyncDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a data source in the specified project.
                DataSourceDto result = apiInstance.createDataSourceV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.createDataSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$body = ; // DataSourceSyncDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $body = WWW::SwaggerClient::Object::DataSourceSyncDto->new(); # DataSourceSyncDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createDataSourceV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->createDataSourceV2: $@\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.DataSourceOperationsApi()
body =  # DataSourceSyncDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a data source in the specified project.
    api_response = api_instance.create_data_source_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->createDataSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid data source configuration.

Status: 500 - Unexpected server error.

Status: 200 - Data sources created successfully.


deleteDataSource

Deletes a data source from the active project.


/api/v1/data-sources/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources/{id}?delete_dependents="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        Boolean deleteDependents = true; // Boolean | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataSource(id, deleteDependents, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#deleteDataSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        Boolean deleteDependents = true; // Boolean | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataSource(id, deleteDependents, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#deleteDataSource");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 
Boolean *deleteDependents = true; //  (optional) (default to false)
String *authorization = authorization_example; //  (optional)

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

// Deletes a data source from the active project.
[apiInstance deleteDataSourceWith:id
    deleteDependents:deleteDependents
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var id = id_example; // {{String}} 
var opts = { 
  'deleteDependents': true, // {{Boolean}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteDataSource(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var id = id_example;  // String | 
            var deleteDependents = true;  // Boolean |  (optional)  (default to false)
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a data source from the active project.
                apiInstance.deleteDataSource(id, deleteDependents, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.deleteDataSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$id = id_example; // String | 
$deleteDependents = true; // Boolean | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $id = id_example; # String | 
my $deleteDependents = true; # Boolean | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteDataSource(id => $id, deleteDependents => $deleteDependents, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->deleteDataSource: $@\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.DataSourceOperationsApi()
id = id_example # String | 
deleteDependents = true # Boolean |  (optional) (default to false)
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a data source from the active project.
    api_instance.delete_data_source(id, deleteDependents=deleteDependents, authorization=authorization)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->deleteDataSource: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
delete_dependents
Boolean

Responses

Status: 404 - Authenticated user's active project not found.

Status: 200 - Data source deleted successfully.

Status: 400 - Invalid data source configuration.

Status: 500 - Unexpected server error.


deleteDataSourceV2

Deletes a data source from the specified project.


/api/v2/projects/{projectId}/data-sources/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources/{id}?delete_dependents="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        Boolean deleteDependents = true; // Boolean | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataSourceV2(id, projectId, deleteDependents, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#deleteDataSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        Boolean deleteDependents = true; // Boolean | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteDataSourceV2(id, projectId, deleteDependents, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#deleteDataSourceV2");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 
String *projectId = projectId_example; // 
Boolean *deleteDependents = true; //  (optional) (default to false)
String *authorization = authorization_example; //  (optional)

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

// Deletes a data source from the specified project.
[apiInstance deleteDataSourceV2With:id
    projectId:projectId
    deleteDependents:deleteDependents
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var id = id_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'deleteDependents': true, // {{Boolean}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteDataSourceV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var id = id_example;  // String | 
            var projectId = projectId_example;  // String | 
            var deleteDependents = true;  // Boolean |  (optional)  (default to false)
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a data source from the specified project.
                apiInstance.deleteDataSourceV2(id, projectId, deleteDependents, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.deleteDataSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$id = id_example; // String | 
$projectId = projectId_example; // String | 
$deleteDependents = true; // Boolean | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteDataSourceV2($id, $projectId, $deleteDependents, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling DataSourceOperationsApi->deleteDataSourceV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DataSourceOperationsApi;

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $id = id_example; # String | 
my $projectId = projectId_example; # String | 
my $deleteDependents = true; # Boolean | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteDataSourceV2(id => $id, projectId => $projectId, deleteDependents => $deleteDependents, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->deleteDataSourceV2: $@\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.DataSourceOperationsApi()
id = id_example # String | 
projectId = projectId_example # String | 
deleteDependents = true # Boolean |  (optional) (default to false)
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a data source from the specified project.
    api_instance.delete_data_source_v2(id, projectId, deleteDependents=deleteDependents, authorization=authorization)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->deleteDataSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
delete_dependents
Boolean

Responses

Status: 200 - Data source deleted successfully.

Status: 400 - Invalid data source configuration.

Status: 404 - Project not found.

Status: 500 - Unexpected server error.


getDataSourceInProjectById

Retrieves a data source in the active project by its id.


/api/v1/data-sources/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.getDataSourceInProjectById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourceInProjectById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.getDataSourceInProjectById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourceInProjectById");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a data source in the active project by its id.
[apiInstance getDataSourceInProjectByIdWith:id
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var id = id_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataSourceInProjectById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var id = id_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a data source in the active project by its id.
                DataSourceDto result = apiInstance.getDataSourceInProjectById(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.getDataSourceInProjectById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$id = id_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $id = id_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataSourceInProjectById(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->getDataSourceInProjectById: $@\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.DataSourceOperationsApi()
id = id_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a data source in the active project by its id.
    api_response = api_instance.get_data_source_in_project_by_id(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->getDataSourceInProjectById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Data sources retrieved successfully.

Status: 404 - Data source not found in active project.

Status: 500 - Unexpected server error.


getDataSourceInProjectByIdV2

Retrieves a data source in the specified project by its id.


/api/v2/projects/{projectId}/data-sources/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.getDataSourceInProjectByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourceInProjectByIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.getDataSourceInProjectByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourceInProjectByIdV2");
            e.printStackTrace();
        }
    }
}
String *id = id_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a data source in the specified project by its id.
[apiInstance getDataSourceInProjectByIdV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var id = id_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataSourceInProjectByIdV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var id = id_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a data source in the specified project by its id.
                DataSourceDto result = apiInstance.getDataSourceInProjectByIdV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.getDataSourceInProjectByIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$id = id_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $id = id_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataSourceInProjectByIdV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->getDataSourceInProjectByIdV2: $@\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.DataSourceOperationsApi()
id = id_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a data source in the specified project by its id.
    api_response = api_instance.get_data_source_in_project_by_id_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->getDataSourceInProjectByIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Data sources retrieved successfully.

Status: 404 - Data source not found in specified project.

Status: 500 - Unexpected server error.


getDataSourcesInProject

Retrieves all data sources in the active project.


/api/v1/data-sources

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getDataSourcesInProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourcesInProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getDataSourcesInProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourcesInProject");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves all data sources in the active project.
[apiInstance getDataSourcesInProjectWith:authorization
              completionHandler: ^(array[DataSourceDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataSourcesInProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all data sources in the active project.
                array[DataSourceDto] result = apiInstance.getDataSourcesInProject(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.getDataSourcesInProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataSourcesInProject(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->getDataSourcesInProject: $@\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.DataSourceOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all data sources in the active project.
    api_response = api_instance.get_data_sources_in_project(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->getDataSourcesInProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Authenticated user's current project not found.

Status: 200 - Data sources retrieved successfully.

Status: 500 - Unexpected server error.


getDataSourcesInProjectV2

Retrieves all data sources in the specified project.


/api/v2/projects/{projectId}/data-sources

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getDataSourcesInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourcesInProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getDataSourcesInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getDataSourcesInProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves all data sources in the specified project.
[apiInstance getDataSourcesInProjectV2With:projectId
    authorization:authorization
              completionHandler: ^(array[DataSourceDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDataSourcesInProjectV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all data sources in the specified project.
                array[DataSourceDto] result = apiInstance.getDataSourcesInProjectV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.getDataSourcesInProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDataSourcesInProjectV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->getDataSourcesInProjectV2: $@\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.DataSourceOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all data sources in the specified project.
    api_response = api_instance.get_data_sources_in_project_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->getDataSourcesInProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Data sources retrieved successfully.

Status: 404 - Project not found.

Status: 500 - Unexpected server error.


getKafkaSourcesInProject

Retrieves Kafka data sources in the active project.


/api/v1/data-sources/kafka

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources/kafka"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getKafkaSourcesInProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getKafkaSourcesInProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getKafkaSourcesInProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getKafkaSourcesInProject");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves Kafka data sources in the active project.
[apiInstance getKafkaSourcesInProjectWith:authorization
              completionHandler: ^(array[DataSourceDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getKafkaSourcesInProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves Kafka data sources in the active project.
                array[DataSourceDto] result = apiInstance.getKafkaSourcesInProject(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.getKafkaSourcesInProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getKafkaSourcesInProject(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->getKafkaSourcesInProject: $@\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.DataSourceOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves Kafka data sources in the active project.
    api_response = api_instance.get_kafka_sources_in_project(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->getKafkaSourcesInProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Data sources retrieved successfully.

Status: 404 - Authenticated user's active project not found.

Status: 500 - Unexpected server error.


getKafkaSourcesInProjectV2

Retrieves Kafka data sources in the specified project.


/api/v2/projects/{projectId}/data-sources/kafka

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources/kafka"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getKafkaSourcesInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getKafkaSourcesInProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[DataSourceDto] result = apiInstance.getKafkaSourcesInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#getKafkaSourcesInProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves Kafka data sources in the specified project.
[apiInstance getKafkaSourcesInProjectV2With:projectId
    authorization:authorization
              completionHandler: ^(array[DataSourceDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getKafkaSourcesInProjectV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves Kafka data sources in the specified project.
                array[DataSourceDto] result = apiInstance.getKafkaSourcesInProjectV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.getKafkaSourcesInProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getKafkaSourcesInProjectV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->getKafkaSourcesInProjectV2: $@\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.DataSourceOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves Kafka data sources in the specified project.
    api_response = api_instance.get_kafka_sources_in_project_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->getKafkaSourcesInProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Data sources retrieved successfully.

Status: 404 - Project not found.

Status: 500 - Unexpected server error.


updateDataSource

Updates an existing data source in the active project.


/api/v1/data-sources/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceDto body = ; // DataSourceDto | 
        String id = id_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.updateDataSource(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#updateDataSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceDto body = ; // DataSourceDto | 
        String id = id_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.updateDataSource(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#updateDataSource");
            e.printStackTrace();
        }
    }
}
DataSourceDto *body = ; // 
String *id = id_example; // 
String *authorization = authorization_example; //  (optional)

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

// Updates an existing data source in the active project.
[apiInstance updateDataSourceWith:body
    id:id
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var body = ; // {{DataSourceDto}} 
var id = id_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateDataSource(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var body = new DataSourceDto(); // DataSourceDto | 
            var id = id_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates an existing data source in the active project.
                DataSourceDto result = apiInstance.updateDataSource(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.updateDataSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$body = ; // DataSourceDto | 
$id = id_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $body = WWW::SwaggerClient::Object::DataSourceDto->new(); # DataSourceDto | 
my $id = id_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateDataSource(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->updateDataSource: $@\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.DataSourceOperationsApi()
body =  # DataSourceDto | 
id = id_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates an existing data source in the active project.
    api_response = api_instance.update_data_source(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->updateDataSource: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid data source configuration.

Status: 404 - Data source not found.

Status: 500 - Unexpected server error.

Status: 200 - Data source updated successfully.


updateDataSourceV2

Updates an existing data source in the specified project.


/api/v2/projects/{projectId}/data-sources/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceSyncDto body = ; // DataSourceSyncDto | 
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.updateDataSourceV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#updateDataSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceSyncDto body = ; // DataSourceSyncDto | 
        String id = id_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            DataSourceDto result = apiInstance.updateDataSourceV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#updateDataSourceV2");
            e.printStackTrace();
        }
    }
}
DataSourceSyncDto *body = ; // 
String *id = id_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Updates an existing data source in the specified project.
[apiInstance updateDataSourceV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(DataSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var body = ; // {{DataSourceSyncDto}} 
var id = id_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateDataSourceV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var body = new DataSourceSyncDto(); // DataSourceSyncDto | 
            var id = id_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates an existing data source in the specified project.
                DataSourceDto result = apiInstance.updateDataSourceV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.updateDataSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$body = ; // DataSourceSyncDto | 
$id = id_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateDataSourceV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DataSourceOperationsApi->updateDataSourceV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::DataSourceOperationsApi;

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $body = WWW::SwaggerClient::Object::DataSourceSyncDto->new(); # DataSourceSyncDto | 
my $id = id_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateDataSourceV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->updateDataSourceV2: $@\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.DataSourceOperationsApi()
body =  # DataSourceSyncDto | 
id = id_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates an existing data source in the specified project.
    api_response = api_instance.update_data_source_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->updateDataSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
String
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid data source configuration.

Status: 404 - Data source not found.

Status: 500 - Unexpected server error.

Status: 200 - Data source updated successfully.


validateDataSource

Validates a data source as a Flink catalog in the active project.


/api/v1/data-sources/validate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/data-sources/validate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceDto body = ; // DataSourceDto | 
        String authorization = authorization_example; // String | 
        try {
            ValidateDataSourceResponse result = apiInstance.validateDataSource(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#validateDataSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceDto body = ; // DataSourceDto | 
        String authorization = authorization_example; // String | 
        try {
            ValidateDataSourceResponse result = apiInstance.validateDataSource(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#validateDataSource");
            e.printStackTrace();
        }
    }
}
DataSourceDto *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Validates a data source as a Flink catalog in the active project.
[apiInstance validateDataSourceWith:body
    authorization:authorization
              completionHandler: ^(ValidateDataSourceResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var body = ; // {{DataSourceDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.validateDataSource(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var body = new DataSourceDto(); // DataSourceDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Validates a data source as a Flink catalog in the active project.
                ValidateDataSourceResponse result = apiInstance.validateDataSource(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.validateDataSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$body = ; // DataSourceDto | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $body = WWW::SwaggerClient::Object::DataSourceDto->new(); # DataSourceDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->validateDataSource(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->validateDataSource: $@\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.DataSourceOperationsApi()
body =  # DataSourceDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Validates a data source as a Flink catalog in the active project.
    api_response = api_instance.validate_data_source(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->validateDataSource: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 404 - Authenticated user's active project not found.

Status: 400 - Invalid data source configuration.

Status: 500 - Unexpected server error.

Status: 200 - Data source validated successfully.


validateDataSourceV2

Validates a data source as a Flink catalog in the active project.


/api/v2/projects/{projectId}/data-sources/validate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/data-sources/validate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DataSourceOperationsApi;

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

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceSyncDto body = ; // DataSourceSyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ValidateDataSourceResponse result = apiInstance.validateDataSourceV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#validateDataSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DataSourceOperationsApi;

public class DataSourceOperationsApiExample {

    public static void main(String[] args) {
        DataSourceOperationsApi apiInstance = new DataSourceOperationsApi();
        DataSourceSyncDto body = ; // DataSourceSyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ValidateDataSourceResponse result = apiInstance.validateDataSourceV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DataSourceOperationsApi#validateDataSourceV2");
            e.printStackTrace();
        }
    }
}
DataSourceSyncDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Validates a data source as a Flink catalog in the active project.
[apiInstance validateDataSourceV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ValidateDataSourceResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DataSourceOperationsApi()
var body = ; // {{DataSourceSyncDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.validateDataSourceV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DataSourceOperationsApi();
            var body = new DataSourceSyncDto(); // DataSourceSyncDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Validates a data source as a Flink catalog in the active project.
                ValidateDataSourceResponse result = apiInstance.validateDataSourceV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DataSourceOperationsApi.validateDataSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDataSourceOperationsApi();
$body = ; // DataSourceSyncDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DataSourceOperationsApi->new();
my $body = WWW::SwaggerClient::Object::DataSourceSyncDto->new(); # DataSourceSyncDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->validateDataSourceV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DataSourceOperationsApi->validateDataSourceV2: $@\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.DataSourceOperationsApi()
body =  # DataSourceSyncDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Validates a data source as a Flink catalog in the active project.
    api_response = api_instance.validate_data_source_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DataSourceOperationsApi->validateDataSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid data source configuration.

Status: 404 - Project not found.

Status: 500 - Unexpected server error.

Status: 200 - Data source validated successfully.


DatabaseInfoController

connectString


/internal/database/connect-string

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/database/connect-string"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DatabaseInfoControllerApi;

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

public class DatabaseInfoControllerApiExample {

    public static void main(String[] args) {
        
        DatabaseInfoControllerApi apiInstance = new DatabaseInfoControllerApi();
        String authorization = authorization_example; // String | 
        try {
            DatabaseConnectStringResponse result = apiInstance.connectString(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatabaseInfoControllerApi#connectString");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DatabaseInfoControllerApi;

public class DatabaseInfoControllerApiExample {

    public static void main(String[] args) {
        DatabaseInfoControllerApi apiInstance = new DatabaseInfoControllerApi();
        String authorization = authorization_example; // String | 
        try {
            DatabaseConnectStringResponse result = apiInstance.connectString(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatabaseInfoControllerApi#connectString");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance connectStringWith:authorization
              completionHandler: ^(DatabaseConnectStringResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DatabaseInfoControllerApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.connectString(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DatabaseInfoControllerApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiDatabaseInfoControllerApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DatabaseInfoControllerApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->connectString(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DatabaseInfoControllerApi->connectString: $@\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.DatabaseInfoControllerApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.connect_string(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DatabaseInfoControllerApi->connectString: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


info


/internal/database/info

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/database/info"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DatabaseInfoControllerApi;

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

public class DatabaseInfoControllerApiExample {

    public static void main(String[] args) {
        
        DatabaseInfoControllerApi apiInstance = new DatabaseInfoControllerApi();
        String authorization = authorization_example; // String | 
        try {
            DatabaseInfoResponse result = apiInstance.info(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatabaseInfoControllerApi#info");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DatabaseInfoControllerApi;

public class DatabaseInfoControllerApiExample {

    public static void main(String[] args) {
        DatabaseInfoControllerApi apiInstance = new DatabaseInfoControllerApi();
        String authorization = authorization_example; // String | 
        try {
            DatabaseInfoResponse result = apiInstance.info(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatabaseInfoControllerApi#info");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance infoWith:authorization
              completionHandler: ^(DatabaseInfoResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DatabaseInfoControllerApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.info(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DatabaseInfoControllerApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiDatabaseInfoControllerApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DatabaseInfoControllerApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->info(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DatabaseInfoControllerApi->info: $@\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.DatabaseInfoControllerApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.info(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DatabaseInfoControllerApi->info: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


version


/internal/database/version

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/database/version"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DatabaseInfoControllerApi;

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

public class DatabaseInfoControllerApiExample {

    public static void main(String[] args) {
        
        DatabaseInfoControllerApi apiInstance = new DatabaseInfoControllerApi();
        String authorization = authorization_example; // String | 
        try {
            DatabaseVersionResponse result = apiInstance.version(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatabaseInfoControllerApi#version");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DatabaseInfoControllerApi;

public class DatabaseInfoControllerApiExample {

    public static void main(String[] args) {
        DatabaseInfoControllerApi apiInstance = new DatabaseInfoControllerApi();
        String authorization = authorization_example; // String | 
        try {
            DatabaseVersionResponse result = apiInstance.version(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DatabaseInfoControllerApi#version");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance versionWith:authorization
              completionHandler: ^(DatabaseVersionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DatabaseInfoControllerApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.version(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DatabaseInfoControllerApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiDatabaseInfoControllerApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DatabaseInfoControllerApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->version(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DatabaseInfoControllerApi->version: $@\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.DatabaseInfoControllerApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.version(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DatabaseInfoControllerApi->version: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


DdlTemplateController

createTable


/internal/ddl/create-table

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/ddl/create-table"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DdlTemplateControllerApi;

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

public class DdlTemplateControllerApiExample {

    public static void main(String[] args) {
        
        DdlTemplateControllerApi apiInstance = new DdlTemplateControllerApi();
        GenerateCreateTableRequest body = ; // GenerateCreateTableRequest | 
        String authorization = authorization_example; // String | 
        try {
            GenerateCreateTableResponse result = apiInstance.createTable(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DdlTemplateControllerApi#createTable");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DdlTemplateControllerApi;

public class DdlTemplateControllerApiExample {

    public static void main(String[] args) {
        DdlTemplateControllerApi apiInstance = new DdlTemplateControllerApi();
        GenerateCreateTableRequest body = ; // GenerateCreateTableRequest | 
        String authorization = authorization_example; // String | 
        try {
            GenerateCreateTableResponse result = apiInstance.createTable(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DdlTemplateControllerApi#createTable");
            e.printStackTrace();
        }
    }
}
GenerateCreateTableRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance createTableWith:body
    authorization:authorization
              completionHandler: ^(GenerateCreateTableResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DdlTemplateControllerApi()
var body = ; // {{GenerateCreateTableRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createTable(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DdlTemplateControllerApi();
            var body = new GenerateCreateTableRequest(); // GenerateCreateTableRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                GenerateCreateTableResponse result = apiInstance.createTable(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DdlTemplateControllerApi.createTable: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiDdlTemplateControllerApi();
$body = ; // GenerateCreateTableRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DdlTemplateControllerApi->new();
my $body = WWW::SwaggerClient::Object::GenerateCreateTableRequest->new(); # GenerateCreateTableRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createTable(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DdlTemplateControllerApi->createTable: $@\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.DdlTemplateControllerApi()
body =  # GenerateCreateTableRequest | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.create_table(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DdlTemplateControllerApi->createTable: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


DiagnosticOperations

getCounters


/api/v1/diag/counters

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/diag/counters"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DiagnosticOperationsApi;

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

public class DiagnosticOperationsApiExample {

    public static void main(String[] args) {
        
        DiagnosticOperationsApi apiInstance = new DiagnosticOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            CountersResponse result = apiInstance.getCounters(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DiagnosticOperationsApi#getCounters");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DiagnosticOperationsApi;

public class DiagnosticOperationsApiExample {

    public static void main(String[] args) {
        DiagnosticOperationsApi apiInstance = new DiagnosticOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            CountersResponse result = apiInstance.getCounters(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DiagnosticOperationsApi#getCounters");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance getCountersWith:authorization
              completionHandler: ^(CountersResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DiagnosticOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCounters(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DiagnosticOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiDiagnosticOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DiagnosticOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getCounters(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DiagnosticOperationsApi->getCounters: $@\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.DiagnosticOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_counters(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DiagnosticOperationsApi->getCounters: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getCounters1


/api/v2/diag/counters

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/diag/counters"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.DiagnosticOperationsApi;

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

public class DiagnosticOperationsApiExample {

    public static void main(String[] args) {
        
        DiagnosticOperationsApi apiInstance = new DiagnosticOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            CountersResponse result = apiInstance.getCounters1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DiagnosticOperationsApi#getCounters1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.DiagnosticOperationsApi;

public class DiagnosticOperationsApiExample {

    public static void main(String[] args) {
        DiagnosticOperationsApi apiInstance = new DiagnosticOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            CountersResponse result = apiInstance.getCounters1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DiagnosticOperationsApi#getCounters1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance getCounters1With:authorization
              completionHandler: ^(CountersResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.DiagnosticOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCounters1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new DiagnosticOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiDiagnosticOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::DiagnosticOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getCounters1(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DiagnosticOperationsApi->getCounters1: $@\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.DiagnosticOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_counters1(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DiagnosticOperationsApi->getCounters1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


FlinkDashboard

getAllJobsOverview


/ui/flink/jobs/overview

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/overview"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.getAllJobsOverview(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#getAllJobsOverview");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.getAllJobsOverview(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#getAllJobsOverview");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance getAllJobsOverviewWith:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllJobsOverview(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllJobsOverview(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->getAllJobsOverview: $@\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.FlinkDashboardApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_all_jobs_overview(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->getAllJobsOverview: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getAllOverview


/ui/flink/overview

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/overview"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.getAllOverview(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#getAllOverview");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.getAllOverview(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#getAllOverview");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance getAllOverviewWith:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllOverview(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllOverview(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->getAllOverview: $@\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.FlinkDashboardApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_all_overview(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->getAllOverview: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getConfig


/ui/flink/config

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.getConfig(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#getConfig");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.getConfig(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#getConfig");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance getConfigWith:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConfig(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConfig(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->getConfig: $@\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.FlinkDashboardApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_config(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->getConfig: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


redirectToIndex


/ui/flink

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            RedirectView result = apiInstance.redirectToIndex(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#redirectToIndex");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String authorization = authorization_example; // String | 
        try {
            RedirectView result = apiInstance.redirectToIndex(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#redirectToIndex");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance redirectToIndexWith:authorization
              completionHandler: ^(RedirectView output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.redirectToIndex(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->redirectToIndex(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->redirectToIndex: $@\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.FlinkDashboardApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.redirect_to_index(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->redirectToIndex: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


routeJobRequest


/ui/flink/jobs/{jobId}/**

Usage and SDK Samples

curl -X PUT\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/{jobId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest");
            e.printStackTrace();
        }
    }
}
String *jobId = jobId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeJobRequestWith:jobId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var jobId = jobId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeJobRequest(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var jobId = jobId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeJobRequest(jobId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeJobRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$jobId = jobId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $jobId = jobId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeJobRequest(jobId => $jobId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeJobRequest: $@\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.FlinkDashboardApi()
jobId = jobId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_job_request(jobId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeJobRequest: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeJobRequest1


/ui/flink/jobs/{jobId}/**

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/{jobId}/**?body="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String body = body_example; // String | 
        String jobId = jobId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest1(body, jobId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String body = body_example; // String | 
        String jobId = jobId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest1(body, jobId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest1");
            e.printStackTrace();
        }
    }
}
String *body = body_example; // 
String *jobId = jobId_example; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeJobRequest1With:body
    jobId:jobId
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var body = body_example; // {{String}} 
var jobId = jobId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeJobRequest1(body, jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var body = body_example;  // String | 
            var jobId = jobId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeJobRequest1(body, jobId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeJobRequest1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$body = body_example; // String | 
$jobId = jobId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $body = body_example; # String | 
my $jobId = jobId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeJobRequest1(body => $body, jobId => $jobId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeJobRequest1: $@\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.FlinkDashboardApi()
body = body_example # String | 
jobId = jobId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_job_request1(body, jobId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeJobRequest1: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
body*
String
Required

Responses

Status: 200 - OK


routeJobRequest2


/ui/flink/jobs/{jobId}/**

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/{jobId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest2(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest2(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest2");
            e.printStackTrace();
        }
    }
}
String *jobId = jobId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeJobRequest2With:jobId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var jobId = jobId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeJobRequest2(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var jobId = jobId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeJobRequest2(jobId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeJobRequest2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$jobId = jobId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $jobId = jobId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeJobRequest2(jobId => $jobId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeJobRequest2: $@\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.FlinkDashboardApi()
jobId = jobId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_job_request2(jobId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeJobRequest2: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeJobRequest3


/ui/flink/jobs/{jobId}/**

Usage and SDK Samples

curl -X OPTIONS\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/{jobId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest3(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest3(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest3");
            e.printStackTrace();
        }
    }
}
String *jobId = jobId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeJobRequest3With:jobId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var jobId = jobId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeJobRequest3(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var jobId = jobId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeJobRequest3(jobId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeJobRequest3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$jobId = jobId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $jobId = jobId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeJobRequest3(jobId => $jobId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeJobRequest3: $@\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.FlinkDashboardApi()
jobId = jobId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_job_request3(jobId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeJobRequest3: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeJobRequest4


/ui/flink/jobs/{jobId}/**

Usage and SDK Samples

curl -X PATCH\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/{jobId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest4(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest4");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest4(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest4");
            e.printStackTrace();
        }
    }
}
String *jobId = jobId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeJobRequest4With:jobId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var jobId = jobId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeJobRequest4(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var jobId = jobId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeJobRequest4(jobId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeJobRequest4: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$jobId = jobId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $jobId = jobId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeJobRequest4(jobId => $jobId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeJobRequest4: $@\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.FlinkDashboardApi()
jobId = jobId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_job_request4(jobId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeJobRequest4: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeJobRequest5


/ui/flink/jobs/{jobId}/**

Usage and SDK Samples

curl -X DELETE\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/{jobId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest5(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest5");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest5(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest5");
            e.printStackTrace();
        }
    }
}
String *jobId = jobId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeJobRequest5With:jobId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var jobId = jobId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeJobRequest5(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var jobId = jobId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeJobRequest5(jobId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeJobRequest5: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$jobId = jobId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $jobId = jobId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeJobRequest5(jobId => $jobId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeJobRequest5: $@\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.FlinkDashboardApi()
jobId = jobId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_job_request5(jobId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeJobRequest5: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeJobRequest6


/ui/flink/jobs/{jobId}/**

Usage and SDK Samples

curl -X HEAD\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/jobs/{jobId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest6(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest6");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String jobId = jobId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeJobRequest6(jobId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeJobRequest6");
            e.printStackTrace();
        }
    }
}
String *jobId = jobId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeJobRequest6With:jobId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var jobId = jobId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeJobRequest6(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var jobId = jobId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeJobRequest6(jobId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeJobRequest6: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$jobId = jobId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $jobId = jobId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeJobRequest6(jobId => $jobId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeJobRequest6: $@\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.FlinkDashboardApi()
jobId = jobId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_job_request6(jobId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeJobRequest6: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeTaskRequest


/ui/flink/taskmanagers/{tmId}/**

Usage and SDK Samples

curl -X PUT\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/taskmanagers/{tmId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest");
            e.printStackTrace();
        }
    }
}
String *tmId = tmId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeTaskRequestWith:tmId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var tmId = tmId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeTaskRequest(tmId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var tmId = tmId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeTaskRequest(tmId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeTaskRequest: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$tmId = tmId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $tmId = tmId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeTaskRequest(tmId => $tmId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeTaskRequest: $@\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.FlinkDashboardApi()
tmId = tmId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_task_request(tmId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeTaskRequest: %s\n" % e)

Parameters

Path parameters
Name Description
tmId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeTaskRequest1


/ui/flink/taskmanagers/{tmId}/**

Usage and SDK Samples

curl -X GET\
-H "Accept: */*"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/taskmanagers/{tmId}/**?body="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String body = body_example; // String | 
        String tmId = tmId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest1(body, tmId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String body = body_example; // String | 
        String tmId = tmId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest1(body, tmId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest1");
            e.printStackTrace();
        }
    }
}
String *body = body_example; // 
String *tmId = tmId_example; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeTaskRequest1With:body
    tmId:tmId
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var body = body_example; // {{String}} 
var tmId = tmId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeTaskRequest1(body, tmId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var body = body_example;  // String | 
            var tmId = tmId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeTaskRequest1(body, tmId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeTaskRequest1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$body = body_example; // String | 
$tmId = tmId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $body = body_example; # String | 
my $tmId = tmId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeTaskRequest1(body => $body, tmId => $tmId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeTaskRequest1: $@\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.FlinkDashboardApi()
body = body_example # String | 
tmId = tmId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_task_request1(body, tmId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeTaskRequest1: %s\n" % e)

Parameters

Path parameters
Name Description
tmId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
body*
String
Required

Responses

Status: 200 - OK


routeTaskRequest2


/ui/flink/taskmanagers/{tmId}/**

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/taskmanagers/{tmId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest2(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest2(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest2");
            e.printStackTrace();
        }
    }
}
String *tmId = tmId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeTaskRequest2With:tmId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var tmId = tmId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeTaskRequest2(tmId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var tmId = tmId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeTaskRequest2(tmId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeTaskRequest2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$tmId = tmId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $tmId = tmId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeTaskRequest2(tmId => $tmId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeTaskRequest2: $@\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.FlinkDashboardApi()
tmId = tmId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_task_request2(tmId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeTaskRequest2: %s\n" % e)

Parameters

Path parameters
Name Description
tmId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeTaskRequest3


/ui/flink/taskmanagers/{tmId}/**

Usage and SDK Samples

curl -X OPTIONS\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/taskmanagers/{tmId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest3(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest3");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest3(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest3");
            e.printStackTrace();
        }
    }
}
String *tmId = tmId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeTaskRequest3With:tmId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var tmId = tmId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeTaskRequest3(tmId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var tmId = tmId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeTaskRequest3(tmId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeTaskRequest3: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$tmId = tmId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $tmId = tmId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeTaskRequest3(tmId => $tmId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeTaskRequest3: $@\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.FlinkDashboardApi()
tmId = tmId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_task_request3(tmId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeTaskRequest3: %s\n" % e)

Parameters

Path parameters
Name Description
tmId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeTaskRequest4


/ui/flink/taskmanagers/{tmId}/**

Usage and SDK Samples

curl -X PATCH\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/taskmanagers/{tmId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest4(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest4");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest4(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest4");
            e.printStackTrace();
        }
    }
}
String *tmId = tmId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeTaskRequest4With:tmId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var tmId = tmId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeTaskRequest4(tmId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var tmId = tmId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeTaskRequest4(tmId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeTaskRequest4: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$tmId = tmId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $tmId = tmId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeTaskRequest4(tmId => $tmId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeTaskRequest4: $@\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.FlinkDashboardApi()
tmId = tmId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_task_request4(tmId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeTaskRequest4: %s\n" % e)

Parameters

Path parameters
Name Description
tmId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeTaskRequest5


/ui/flink/taskmanagers/{tmId}/**

Usage and SDK Samples

curl -X DELETE\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/taskmanagers/{tmId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest5(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest5");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest5(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest5");
            e.printStackTrace();
        }
    }
}
String *tmId = tmId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeTaskRequest5With:tmId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var tmId = tmId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeTaskRequest5(tmId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var tmId = tmId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeTaskRequest5(tmId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeTaskRequest5: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$tmId = tmId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $tmId = tmId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeTaskRequest5(tmId => $tmId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeTaskRequest5: $@\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.FlinkDashboardApi()
tmId = tmId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_task_request5(tmId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeTaskRequest5: %s\n" % e)

Parameters

Path parameters
Name Description
tmId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


routeTaskRequest6


/ui/flink/taskmanagers/{tmId}/**

Usage and SDK Samples

curl -X HEAD\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/ui/flink/taskmanagers/{tmId}/**"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkDashboardApi;

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

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest6(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest6");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkDashboardApi;

public class FlinkDashboardApiExample {

    public static void main(String[] args) {
        FlinkDashboardApi apiInstance = new FlinkDashboardApi();
        String tmId = tmId_example; // String | 
        String body = ; // String | 
        String authorization = authorization_example; // String | 
        try {
            'String' result = apiInstance.routeTaskRequest6(tmId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkDashboardApi#routeTaskRequest6");
            e.printStackTrace();
        }
    }
}
String *tmId = tmId_example; // 
String *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance routeTaskRequest6With:tmId
    body:body
    authorization:authorization
              completionHandler: ^('String' output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkDashboardApi()
var tmId = tmId_example; // {{String}} 
var opts = { 
  'body':  // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.routeTaskRequest6(tmId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkDashboardApi();
            var tmId = tmId_example;  // String | 
            var body = new String(); // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                'String' result = apiInstance.routeTaskRequest6(tmId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkDashboardApi.routeTaskRequest6: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkDashboardApi();
$tmId = tmId_example; // String | 
$body = ; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkDashboardApi->new();
my $tmId = tmId_example; # String | 
my $body = WWW::SwaggerClient::Object::String->new(); # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->routeTaskRequest6(tmId => $tmId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkDashboardApi->routeTaskRequest6: $@\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.FlinkDashboardApi()
tmId = tmId_example # String | 
body =  # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.route_task_request6(tmId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkDashboardApi->routeTaskRequest6: %s\n" % e)

Parameters

Path parameters
Name Description
tmId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


FlinkJobOperations

run

Run a Flink job from an uploaded artifact.


/api/v1/flink/run

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/flink/run"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkJobOperationsApi;

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

public class FlinkJobOperationsApiExample {

    public static void main(String[] args) {
        
        FlinkJobOperationsApi apiInstance = new FlinkJobOperationsApi();
        FlinkRunRequest body = ; // FlinkRunRequest | 
        String authorization = authorization_example; // String | 
        try {
            JarRunResponse result = apiInstance.run(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkJobOperationsApi#run");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkJobOperationsApi;

public class FlinkJobOperationsApiExample {

    public static void main(String[] args) {
        FlinkJobOperationsApi apiInstance = new FlinkJobOperationsApi();
        FlinkRunRequest body = ; // FlinkRunRequest | 
        String authorization = authorization_example; // String | 
        try {
            JarRunResponse result = apiInstance.run(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkJobOperationsApi#run");
            e.printStackTrace();
        }
    }
}
FlinkRunRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Run a Flink job from an uploaded artifact.
[apiInstance runWith:body
    authorization:authorization
              completionHandler: ^(JarRunResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkJobOperationsApi()
var body = ; // {{FlinkRunRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.run(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkJobOperationsApi();
            var body = new FlinkRunRequest(); // FlinkRunRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Run a Flink job from an uploaded artifact.
                JarRunResponse result = apiInstance.run(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkJobOperationsApi.run: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkJobOperationsApi();
$body = ; // FlinkRunRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkJobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::FlinkRunRequest->new(); # FlinkRunRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->run(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkJobOperationsApi->run: $@\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.FlinkJobOperationsApi()
body =  # FlinkRunRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Run a Flink job from an uploaded artifact.
    api_response = api_instance.run(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkJobOperationsApi->run: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job submitted successfully.

Status: 404 - Artifact not found.

Status: 500 - Unexpected server error.


FlinkSessionClusterOperations

getFlinkSessionByUser

Returns Flink session properties.


/api/v1/flink/session-cluster

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/flink/session-cluster"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

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

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkSession result = apiInstance.getFlinkSessionByUser(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#getFlinkSessionByUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkSession result = apiInstance.getFlinkSessionByUser(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#getFlinkSessionByUser");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Returns Flink session properties.
[apiInstance getFlinkSessionByUserWith:authorization
              completionHandler: ^(FlinkSession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkSessionClusterOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFlinkSessionByUser(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkSessionClusterOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Returns Flink session properties.
                FlinkSession result = apiInstance.getFlinkSessionByUser(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkSessionClusterOperationsApi.getFlinkSessionByUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkSessionClusterOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkSessionClusterOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getFlinkSessionByUser(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkSessionClusterOperationsApi->getFlinkSessionByUser: $@\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.FlinkSessionClusterOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Returns Flink session properties.
    api_response = api_instance.get_flink_session_by_user(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkSessionClusterOperationsApi->getFlinkSessionByUser: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 404 - User or session not found.

Status: 200 - Session properties returned successfully.

Status: 500 - Unexpected server error.


getFlinkSessionByUserV2

Returns Flink session properties.


/api/v2/flink/session-cluster

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/flink/session-cluster"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

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

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkSession result = apiInstance.getFlinkSessionByUserV2(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#getFlinkSessionByUserV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkSession result = apiInstance.getFlinkSessionByUserV2(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#getFlinkSessionByUserV2");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Returns Flink session properties.
[apiInstance getFlinkSessionByUserV2With:authorization
              completionHandler: ^(FlinkSession output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkSessionClusterOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getFlinkSessionByUserV2(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkSessionClusterOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Returns Flink session properties.
                FlinkSession result = apiInstance.getFlinkSessionByUserV2(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkSessionClusterOperationsApi.getFlinkSessionByUserV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkSessionClusterOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkSessionClusterOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getFlinkSessionByUserV2(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkSessionClusterOperationsApi->getFlinkSessionByUserV2: $@\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.FlinkSessionClusterOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Returns Flink session properties.
    api_response = api_instance.get_flink_session_by_user_v2(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkSessionClusterOperationsApi->getFlinkSessionByUserV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 404 - User or session not found.

Status: 200 - Session properties returned successfully.

Status: 500 - Unexpected server error.


provideFlinkSession

Ensures the Flink session exists and returns session properties.


/api/v1/flink/session-cluster

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/flink/session-cluster"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

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

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkStatusDto result = apiInstance.provideFlinkSession(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#provideFlinkSession");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkStatusDto result = apiInstance.provideFlinkSession(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#provideFlinkSession");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Ensures the Flink session exists and returns session properties.
[apiInstance provideFlinkSessionWith:authorization
              completionHandler: ^(FlinkStatusDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkSessionClusterOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.provideFlinkSession(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkSessionClusterOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Ensures the Flink session exists and returns session properties.
                FlinkStatusDto result = apiInstance.provideFlinkSession(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkSessionClusterOperationsApi.provideFlinkSession: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkSessionClusterOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkSessionClusterOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->provideFlinkSession(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkSessionClusterOperationsApi->provideFlinkSession: $@\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.FlinkSessionClusterOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Ensures the Flink session exists and returns session properties.
    api_response = api_instance.provide_flink_session(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkSessionClusterOperationsApi->provideFlinkSession: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Session exists, properties returned successfully.

Status: 404 - User not found.

Status: 500 - Unexpected server error.


provideFlinkSessionV2

Ensures the Flink session exists and returns session properties.


/api/v2/flink/session-cluster

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/flink/session-cluster"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

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

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkStatusDto result = apiInstance.provideFlinkSessionV2(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#provideFlinkSessionV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.FlinkSessionClusterOperationsApi;

public class FlinkSessionClusterOperationsApiExample {

    public static void main(String[] args) {
        FlinkSessionClusterOperationsApi apiInstance = new FlinkSessionClusterOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            FlinkStatusDto result = apiInstance.provideFlinkSessionV2(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling FlinkSessionClusterOperationsApi#provideFlinkSessionV2");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Ensures the Flink session exists and returns session properties.
[apiInstance provideFlinkSessionV2With:authorization
              completionHandler: ^(FlinkStatusDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.FlinkSessionClusterOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.provideFlinkSessionV2(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new FlinkSessionClusterOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Ensures the Flink session exists and returns session properties.
                FlinkStatusDto result = apiInstance.provideFlinkSessionV2(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling FlinkSessionClusterOperationsApi.provideFlinkSessionV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiFlinkSessionClusterOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::FlinkSessionClusterOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->provideFlinkSessionV2(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling FlinkSessionClusterOperationsApi->provideFlinkSessionV2: $@\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.FlinkSessionClusterOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Ensures the Flink session exists and returns session properties.
    api_response = api_instance.provide_flink_session_v2(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling FlinkSessionClusterOperationsApi->provideFlinkSessionV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Session exists, properties returned successfully.

Status: 404 - User not found.

Status: 500 - Unexpected server error.


Heartbeat

heartbeat


/api/v2/heartbeat

Usage and SDK Samples

curl -X GET\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/heartbeat"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HeartbeatApi;

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

public class HeartbeatApiExample {

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

public class HeartbeatApiExample {

    public static void main(String[] args) {
        HeartbeatApi apiInstance = new HeartbeatApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.heartbeat(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeartbeatApi#heartbeat");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance heartbeatWith:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.HeartbeatApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.heartbeat(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new HeartbeatApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiHeartbeatApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::HeartbeatApi->new();
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->heartbeat(authorization => $authorization);
};
if ($@) {
    warn "Exception when calling HeartbeatApi->heartbeat: $@\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.HeartbeatApi()
authorization = authorization_example # String |  (optional)

try: 
    api_instance.heartbeat(authorization=authorization)
except ApiException as e:
    print("Exception when calling HeartbeatApi->heartbeat: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


heartbeat1


/api/v1/heartbeat

Usage and SDK Samples

curl -X GET\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/heartbeat"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HeartbeatApi;

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

public class HeartbeatApiExample {

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

public class HeartbeatApiExample {

    public static void main(String[] args) {
        HeartbeatApi apiInstance = new HeartbeatApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.heartbeat1(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling HeartbeatApi#heartbeat1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance heartbeat1With:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.HeartbeatApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.heartbeat1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new HeartbeatApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiHeartbeatApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::HeartbeatApi->new();
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->heartbeat1(authorization => $authorization);
};
if ($@) {
    warn "Exception when calling HeartbeatApi->heartbeat1: $@\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.HeartbeatApi()
authorization = authorization_example # String |  (optional)

try: 
    api_instance.heartbeat1(authorization=authorization)
except ApiException as e:
    print("Exception when calling HeartbeatApi->heartbeat1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


HistoryController

deleteHistoryAllByProjectId


/internal/history

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/history?project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HistoryControllerApi;

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

public class HistoryControllerApiExample {

    public static void main(String[] args) {
        
        HistoryControllerApi apiInstance = new HistoryControllerApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteHistoryAllByProjectId(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling HistoryControllerApi#deleteHistoryAllByProjectId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HistoryControllerApi;

public class HistoryControllerApiExample {

    public static void main(String[] args) {
        HistoryControllerApi apiInstance = new HistoryControllerApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteHistoryAllByProjectId(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling HistoryControllerApi#deleteHistoryAllByProjectId");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance deleteHistoryAllByProjectIdWith:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.HistoryControllerApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteHistoryAllByProjectId(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new HistoryControllerApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiHistoryControllerApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::HistoryControllerApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteHistoryAllByProjectId(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling HistoryControllerApi->deleteHistoryAllByProjectId: $@\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.HistoryControllerApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    api_instance.delete_history_all_by_project_id(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling HistoryControllerApi->deleteHistoryAllByProjectId: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
project_id*
String
Required

Responses

Status: 200 - OK


deleteHistoryById


/internal/history/{id}

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/history/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HistoryControllerApi;

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

public class HistoryControllerApiExample {

    public static void main(String[] args) {
        
        HistoryControllerApi apiInstance = new HistoryControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteHistoryById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling HistoryControllerApi#deleteHistoryById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HistoryControllerApi;

public class HistoryControllerApiExample {

    public static void main(String[] args) {
        HistoryControllerApi apiInstance = new HistoryControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteHistoryById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling HistoryControllerApi#deleteHistoryById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance deleteHistoryByIdWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.HistoryControllerApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteHistoryById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new HistoryControllerApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiHistoryControllerApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::HistoryControllerApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteHistoryById(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling HistoryControllerApi->deleteHistoryById: $@\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.HistoryControllerApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_instance.delete_history_by_id(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling HistoryControllerApi->deleteHistoryById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getItemsForProject


/internal/history

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/history"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.HistoryControllerApi;

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

public class HistoryControllerApiExample {

    public static void main(String[] args) {
        
        HistoryControllerApi apiInstance = new HistoryControllerApi();
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getItemsForProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HistoryControllerApi#getItemsForProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.HistoryControllerApi;

public class HistoryControllerApiExample {

    public static void main(String[] args) {
        HistoryControllerApi apiInstance = new HistoryControllerApi();
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getItemsForProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling HistoryControllerApi#getItemsForProject");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance getItemsForProjectWith:authorization
              completionHandler: ^(array[HistoryItemDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.HistoryControllerApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getItemsForProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new HistoryControllerApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiHistoryControllerApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::HistoryControllerApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getItemsForProject(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling HistoryControllerApi->getItemsForProject: $@\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.HistoryControllerApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_items_for_project(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling HistoryControllerApi->getItemsForProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


JobNotificationActionOperations

addToJobNotificationGroupV2

Adds a Notification Action or Group to a Notification Group


/api/v2/projects/{projectId}/notification-actions/groups/{groupId}/child/{childId}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/groups/{groupId}/child/{childId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.addToJobNotificationGroupV2(groupId, childId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#addToJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.addToJobNotificationGroupV2(groupId, childId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#addToJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
Integer *groupId = 56; // 
Integer *childId = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Adds a Notification Action or Group to a Notification Group
[apiInstance addToJobNotificationGroupV2With:groupId
    childId:childId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var groupId = 56; // {{Integer}} 
var childId = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addToJobNotificationGroupV2(groupId, childId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var groupId = 56;  // Integer | 
            var childId = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Adds a Notification Action or Group to a Notification Group
                NotificationGroupResponse result = apiInstance.addToJobNotificationGroupV2(groupId, childId, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.addToJobNotificationGroupV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$groupId = 56; // Integer | 
$childId = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->addToJobNotificationGroupV2($groupId, $childId, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobNotificationActionOperationsApi->addToJobNotificationGroupV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobNotificationActionOperationsApi;

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $groupId = 56; # Integer | 
my $childId = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->addToJobNotificationGroupV2(groupId => $groupId, childId => $childId, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->addToJobNotificationGroupV2: $@\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.JobNotificationActionOperationsApi()
groupId = 56 # Integer | 
childId = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Adds a Notification Action or Group to a Notification Group
    api_response = api_instance.add_to_job_notification_group_v2(groupId, childId, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->addToJobNotificationGroupV2: %s\n" % e)

Parameters

Path parameters
Name Description
groupId*
Integer (int32)
Required
childId*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - The adding was successful.

Status: 403 - Job Notification Action or Group is not in the given project.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.

Status: 404 - Job Notification Action or Group not found.


createJobNotificationGroupV2

Creates a new Job Notification Group.


/api/v2/projects/{projectId}/notification-actions/groups

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.createJobNotificationGroupV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#createJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.createJobNotificationGroupV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#createJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
CreateNotificationGroupRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new Job Notification Group.
[apiInstance createJobNotificationGroupV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var body = ; // {{CreateNotificationGroupRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createJobNotificationGroupV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var body = new CreateNotificationGroupRequest(); // CreateNotificationGroupRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new Job Notification Group.
                NotificationGroupResponse result = apiInstance.createJobNotificationGroupV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.createJobNotificationGroupV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$body = ; // CreateNotificationGroupRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationGroupRequest->new(); # CreateNotificationGroupRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createJobNotificationGroupV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->createJobNotificationGroupV2: $@\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.JobNotificationActionOperationsApi()
body =  # CreateNotificationGroupRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new Job Notification Group.
    api_response = api_instance.create_job_notification_group_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->createJobNotificationGroupV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job Notification Group created successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


createJobNotificationV2

Creates a new Job Notification Action.


/api/v2/projects/{projectId}/notification-actions

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.createJobNotificationV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#createJobNotificationV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.createJobNotificationV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#createJobNotificationV2");
            e.printStackTrace();
        }
    }
}
CreateNotificationActionRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new Job Notification Action.
[apiInstance createJobNotificationV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NotificationActionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var body = ; // {{CreateNotificationActionRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createJobNotificationV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var body = new CreateNotificationActionRequest(); // CreateNotificationActionRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new Job Notification Action.
                NotificationActionResponse result = apiInstance.createJobNotificationV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.createJobNotificationV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$body = ; // CreateNotificationActionRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationActionRequest->new(); # CreateNotificationActionRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createJobNotificationV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->createJobNotificationV2: $@\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.JobNotificationActionOperationsApi()
body =  # CreateNotificationActionRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new Job Notification Action.
    api_response = api_instance.create_job_notification_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->createJobNotificationV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job Notification Action created successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


deleteJobNotificationV2

Removes the given Job Notification Action.


/api/v2/projects/{projectId}/notification-actions/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#deleteJobNotificationV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#deleteJobNotificationV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Removes the given Job Notification Action.
[apiInstance deleteJobNotificationV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteJobNotificationV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes the given Job Notification Action.
                apiInstance.deleteJobNotificationV2(id, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.deleteJobNotificationV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteJobNotificationV2(id => $id, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->deleteJobNotificationV2: $@\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.JobNotificationActionOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Removes the given Job Notification Action.
    api_instance.delete_job_notification_v2(id, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->deleteJobNotificationV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Job Notification Action not found.

Status: 403 - Job Notification Action is not in the given project.

Status: 500 - Unexpected server error.

Status: 200 - Job Notification Action removed successfully.


findAllJobNotificationByJobIdV2

Retrieves Job Notification Actions for the given job


/api/v2/projects/{projectId}/notification-actions/job/{jobId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/job/{jobId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer jobId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.findAllJobNotificationByJobIdV2(jobId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#findAllJobNotificationByJobIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer jobId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.findAllJobNotificationByJobIdV2(jobId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#findAllJobNotificationByJobIdV2");
            e.printStackTrace();
        }
    }
}
Integer *jobId = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves Job Notification Actions for the given job
[apiInstance findAllJobNotificationByJobIdV2With:jobId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var jobId = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findAllJobNotificationByJobIdV2(jobId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var jobId = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves Job Notification Actions for the given job
                array[NotificationActionResponse] result = apiInstance.findAllJobNotificationByJobIdV2(jobId, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.findAllJobNotificationByJobIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$jobId = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $jobId = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->findAllJobNotificationByJobIdV2(jobId => $jobId, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->findAllJobNotificationByJobIdV2: $@\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.JobNotificationActionOperationsApi()
jobId = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves Job Notification Actions for the given job
    api_response = api_instance.find_all_job_notification_by_job_id_v2(jobId, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->findAllJobNotificationByJobIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Job Notification Actions retrieved successfully.

Status: 500 - Unexpected server error.


getJobNotificationGroupChildrenV2

Retrieves the Notification Actions and Groups in a group.


/api/v2/projects/{projectId}/notification-actions/groups/{id}/children

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/groups/{id}/children"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.getJobNotificationGroupChildrenV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getJobNotificationGroupChildrenV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.getJobNotificationGroupChildrenV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getJobNotificationGroupChildrenV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the Notification Actions and Groups in a group.
[apiInstance getJobNotificationGroupChildrenV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobNotificationGroupChildrenV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the Notification Actions and Groups in a group.
                array[NotificationActionResponse] result = apiInstance.getJobNotificationGroupChildrenV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.getJobNotificationGroupChildrenV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobNotificationGroupChildrenV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->getJobNotificationGroupChildrenV2: $@\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.JobNotificationActionOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the Notification Actions and Groups in a group.
    api_response = api_instance.get_job_notification_group_children_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->getJobNotificationGroupChildrenV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 500 - Unexpected server error.

Status: 200 - Notification Actions and Groups are retrieved successfully.


getJobNotificationGroupV2

Retrieves the given Job Notification Group.


/api/v2/projects/{projectId}/notification-actions/groups/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.getJobNotificationGroupV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.getJobNotificationGroupV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the given Job Notification Group.
[apiInstance getJobNotificationGroupV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobNotificationGroupV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the given Job Notification Group.
                NotificationGroupResponse result = apiInstance.getJobNotificationGroupV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.getJobNotificationGroupV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobNotificationGroupV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->getJobNotificationGroupV2: $@\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.JobNotificationActionOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the given Job Notification Group.
    api_response = api_instance.get_job_notification_group_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->getJobNotificationGroupV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job Notification Group is not in the given project.

Status: 404 - Job Notification Group not found.

Status: 500 - Unexpected server error.

Status: 200 - Job Notification Group retrieved successfully.


getJobNotificationV2

Retrieves the given Job Notification Action.


/api/v2/projects/{projectId}/notification-actions/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.getJobNotificationV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getJobNotificationV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.getJobNotificationV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getJobNotificationV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the given Job Notification Action.
[apiInstance getJobNotificationV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NotificationActionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobNotificationV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the given Job Notification Action.
                NotificationActionResponse result = apiInstance.getJobNotificationV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.getJobNotificationV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobNotificationV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->getJobNotificationV2: $@\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.JobNotificationActionOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the given Job Notification Action.
    api_response = api_instance.get_job_notification_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->getJobNotificationV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Job Notification Action retrieved successfully.

Status: 404 - Job Notification Action not found.

Status: 403 - Job Notification Action is not in the given project.

Status: 500 - Unexpected server error.


getNotificationTemplateVariablesV2

Retrieves the available template variables that are usable in notification templates


/api/v2/projects/{projectId}/notification-actions/template-variables

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/template-variables"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array['String'] result = apiInstance.getNotificationTemplateVariablesV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getNotificationTemplateVariablesV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array['String'] result = apiInstance.getNotificationTemplateVariablesV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#getNotificationTemplateVariablesV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the available template variables that are usable in notification templates
[apiInstance getNotificationTemplateVariablesV2With:projectId
    authorization:authorization
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getNotificationTemplateVariablesV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the available template variables that are usable in notification templates
                array['String'] result = apiInstance.getNotificationTemplateVariablesV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.getNotificationTemplateVariablesV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getNotificationTemplateVariablesV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->getNotificationTemplateVariablesV2: $@\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.JobNotificationActionOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the available template variables that are usable in notification templates
    api_response = api_instance.get_notification_template_variables_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->getNotificationTemplateVariablesV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Templates retrieved successfully.

Status: 500 - Unexpected server error.


listAllJobNotificationActionsV2

Retrieves Job Notification Actions.


/api/v2/projects/{projectId}/notification-actions

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.listAllJobNotificationActionsV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#listAllJobNotificationActionsV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.listAllJobNotificationActionsV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#listAllJobNotificationActionsV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves Job Notification Actions.
[apiInstance listAllJobNotificationActionsV2With:projectId
    authorization:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listAllJobNotificationActionsV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves Job Notification Actions.
                array[NotificationActionResponse] result = apiInstance.listAllJobNotificationActionsV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.listAllJobNotificationActionsV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->listAllJobNotificationActionsV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->listAllJobNotificationActionsV2: $@\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.JobNotificationActionOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves Job Notification Actions.
    api_response = api_instance.list_all_job_notification_actions_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->listAllJobNotificationActionsV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Job Notification Actions retrieved successfully.

Status: 500 - Unexpected server error.


removeFromJobNotificationGroupV2

Deletes a Notification Action or Group from a Notification Group


/api/v2/projects/{projectId}/notification-actions/groups/{groupId}/child/{childId}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/groups/{groupId}/child/{childId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeFromJobNotificationGroupV2(groupId, childId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#removeFromJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeFromJobNotificationGroupV2(groupId, childId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#removeFromJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
Integer *groupId = 56; // 
Integer *childId = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Notification Action or Group from a Notification Group
[apiInstance removeFromJobNotificationGroupV2With:groupId
    childId:childId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var groupId = 56; // {{Integer}} 
var childId = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.removeFromJobNotificationGroupV2(groupId, childId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var groupId = 56;  // Integer | 
            var childId = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Notification Action or Group from a Notification Group
                apiInstance.removeFromJobNotificationGroupV2(groupId, childId, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.removeFromJobNotificationGroupV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$groupId = 56; // Integer | 
$childId = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->removeFromJobNotificationGroupV2($groupId, $childId, $projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling JobNotificationActionOperationsApi->removeFromJobNotificationGroupV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobNotificationActionOperationsApi;

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $groupId = 56; # Integer | 
my $childId = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->removeFromJobNotificationGroupV2(groupId => $groupId, childId => $childId, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->removeFromJobNotificationGroupV2: $@\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.JobNotificationActionOperationsApi()
groupId = 56 # Integer | 
childId = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Notification Action or Group from a Notification Group
    api_instance.remove_from_job_notification_group_v2(groupId, childId, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->removeFromJobNotificationGroupV2: %s\n" % e)

Parameters

Path parameters
Name Description
groupId*
Integer (int32)
Required
childId*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job Notification Action or Group is not in the given project.

Status: 500 - Unexpected server error.

Status: 200 - The deletion was successful.

Status: 400 - Invalid request format or content.

Status: 404 - Job Notification Action or Group not found.


resolveJobNotificationGroupActionsV2

Retrieves all the Notification Actions in a group, including every children the inner groups


/api/v2/projects/{projectId}/notification-actions/groups/{id}/resolve-actions

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/groups/{id}/resolve-actions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.resolveJobNotificationGroupActionsV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#resolveJobNotificationGroupActionsV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.resolveJobNotificationGroupActionsV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#resolveJobNotificationGroupActionsV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves all the Notification Actions in a group, including every children the inner groups
[apiInstance resolveJobNotificationGroupActionsV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.resolveJobNotificationGroupActionsV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all the Notification Actions in a group, including every children the inner groups
                array[NotificationActionResponse] result = apiInstance.resolveJobNotificationGroupActionsV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.resolveJobNotificationGroupActionsV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->resolveJobNotificationGroupActionsV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->resolveJobNotificationGroupActionsV2: $@\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.JobNotificationActionOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all the Notification Actions in a group, including every children the inner groups
    api_response = api_instance.resolve_job_notification_group_actions_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->resolveJobNotificationGroupActionsV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Notification Actions retrieved successfully.

Status: 500 - Unexpected server error.


updateJobNotificationGroupV2

Updates the given Job Notification Group.


/api/v2/projects/{projectId}/notification-actions/groups/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.updateJobNotificationGroupV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#updateJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.updateJobNotificationGroupV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#updateJobNotificationGroupV2");
            e.printStackTrace();
        }
    }
}
CreateNotificationGroupRequest *body = ; // 
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Updates the given Job Notification Group.
[apiInstance updateJobNotificationGroupV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var body = ; // {{CreateNotificationGroupRequest}} 
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateJobNotificationGroupV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var body = new CreateNotificationGroupRequest(); // CreateNotificationGroupRequest | 
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the given Job Notification Group.
                NotificationGroupResponse result = apiInstance.updateJobNotificationGroupV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.updateJobNotificationGroupV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$body = ; // CreateNotificationGroupRequest | 
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateJobNotificationGroupV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobNotificationActionOperationsApi->updateJobNotificationGroupV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobNotificationActionOperationsApi;

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationGroupRequest->new(); # CreateNotificationGroupRequest | 
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateJobNotificationGroupV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->updateJobNotificationGroupV2: $@\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.JobNotificationActionOperationsApi()
body =  # CreateNotificationGroupRequest | 
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the given Job Notification Group.
    api_response = api_instance.update_job_notification_group_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->updateJobNotificationGroupV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 403 - Job Notification Group is not in the given project.

Status: 404 - Job Notification Group not found.

Status: 200 - Job Notification Group updated successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


updateJobNotificationV2

Updates the given Job Notification Action.


/api/v2/projects/{projectId}/notification-actions/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.updateJobNotificationV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#updateJobNotificationV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.updateJobNotificationV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#updateJobNotificationV2");
            e.printStackTrace();
        }
    }
}
CreateNotificationActionRequest *body = ; // 
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Updates the given Job Notification Action.
[apiInstance updateJobNotificationV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NotificationActionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var body = ; // {{CreateNotificationActionRequest}} 
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateJobNotificationV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var body = new CreateNotificationActionRequest(); // CreateNotificationActionRequest | 
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the given Job Notification Action.
                NotificationActionResponse result = apiInstance.updateJobNotificationV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.updateJobNotificationV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$body = ; // CreateNotificationActionRequest | 
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateJobNotificationV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobNotificationActionOperationsApi->updateJobNotificationV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobNotificationActionOperationsApi;

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationActionRequest->new(); # CreateNotificationActionRequest | 
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateJobNotificationV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->updateJobNotificationV2: $@\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.JobNotificationActionOperationsApi()
body =  # CreateNotificationActionRequest | 
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the given Job Notification Action.
    api_response = api_instance.update_job_notification_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->updateJobNotificationV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job Notification Action updated successfully.

Status: 404 - Job Notification Action not found.

Status: 403 - Job Notification Action is not in the given project.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


validateWebhookBodyV2

Validates the Webhook body


/api/v2/projects/{projectId}/notification-actions/validate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/notification-actions/validate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationActionOperationsApi;

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

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateWebhookBodyV2(body, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#validateWebhookBodyV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationActionOperationsApi;

public class JobNotificationActionOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationActionOperationsApi apiInstance = new JobNotificationActionOperationsApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateWebhookBodyV2(body, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationActionOperationsApi#validateWebhookBodyV2");
            e.printStackTrace();
        }
    }
}
CreateNotificationActionRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Validates the Webhook body
[apiInstance validateWebhookBodyV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationActionOperationsApi()
var body = ; // {{CreateNotificationActionRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.validateWebhookBodyV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationActionOperationsApi();
            var body = new CreateNotificationActionRequest(); // CreateNotificationActionRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Validates the Webhook body
                apiInstance.validateWebhookBodyV2(body, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationActionOperationsApi.validateWebhookBodyV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationActionOperationsApi();
$body = ; // CreateNotificationActionRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationActionOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationActionRequest->new(); # CreateNotificationActionRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->validateWebhookBodyV2(body => $body, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobNotificationActionOperationsApi->validateWebhookBodyV2: $@\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.JobNotificationActionOperationsApi()
body =  # CreateNotificationActionRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Validates the Webhook body
    api_instance.validate_webhook_body_v2(body, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobNotificationActionOperationsApi->validateWebhookBodyV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected error during validation.

Status: 400 - The payload template is invalid, or the validation has failed.

Status: 200 - The payload template is valid.


JobNotificationRuleController

createJobNotificationRule


/internal/job-notification-rules

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/job-notification-rules"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleControllerApi;

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

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        CreateJobNotificationRuleRequest body = ; // CreateJobNotificationRuleRequest | 
        String authorization = authorization_example; // String | 
        try {
            JobNotificationRuleResponse result = apiInstance.createJobNotificationRule(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#createJobNotificationRule");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleControllerApi;

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        CreateJobNotificationRuleRequest body = ; // CreateJobNotificationRuleRequest | 
        String authorization = authorization_example; // String | 
        try {
            JobNotificationRuleResponse result = apiInstance.createJobNotificationRule(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#createJobNotificationRule");
            e.printStackTrace();
        }
    }
}
CreateJobNotificationRuleRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance createJobNotificationRuleWith:body
    authorization:authorization
              completionHandler: ^(JobNotificationRuleResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleControllerApi()
var body = ; // {{CreateJobNotificationRuleRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createJobNotificationRule(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleControllerApi();
            var body = new CreateJobNotificationRuleRequest(); // CreateJobNotificationRuleRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                JobNotificationRuleResponse result = apiInstance.createJobNotificationRule(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationRuleControllerApi.createJobNotificationRule: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationRuleControllerApi();
$body = ; // CreateJobNotificationRuleRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationRuleControllerApi->new();
my $body = WWW::SwaggerClient::Object::CreateJobNotificationRuleRequest->new(); # CreateJobNotificationRuleRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createJobNotificationRule(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleControllerApi->createJobNotificationRule: $@\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.JobNotificationRuleControllerApi()
body =  # CreateJobNotificationRuleRequest | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.create_job_notification_rule(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationRuleControllerApi->createJobNotificationRule: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


deleteJobNotificationRule


/internal/job-notification-rules/{notificationRuleId}

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/job-notification-rules/{notificationRuleId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleControllerApi;

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

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        Integer notificationRuleId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRule(notificationRuleId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#deleteJobNotificationRule");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleControllerApi;

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        Integer notificationRuleId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRule(notificationRuleId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#deleteJobNotificationRule");
            e.printStackTrace();
        }
    }
}
Integer *notificationRuleId = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance deleteJobNotificationRuleWith:notificationRuleId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleControllerApi()
var notificationRuleId = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteJobNotificationRule(notificationRuleId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleControllerApi();
            var notificationRuleId = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiJobNotificationRuleControllerApi();
$notificationRuleId = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationRuleControllerApi->new();
my $notificationRuleId = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteJobNotificationRule(notificationRuleId => $notificationRuleId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleControllerApi->deleteJobNotificationRule: $@\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.JobNotificationRuleControllerApi()
notificationRuleId = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_instance.delete_job_notification_rule(notificationRuleId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobNotificationRuleControllerApi->deleteJobNotificationRule: %s\n" % e)

Parameters

Path parameters
Name Description
notificationRuleId*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


deleteJobNotificationRuleByJobIdAndNotificationActionId


/internal/job-notification-rules/job/{jobId}/notification-action/{notificationActionId}

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/job-notification-rules/job/{jobId}/notification-action/{notificationActionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleControllerApi;

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

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        Integer jobId = 56; // Integer | 
        Integer notificationActionId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRuleByJobIdAndNotificationActionId(jobId, notificationActionId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#deleteJobNotificationRuleByJobIdAndNotificationActionId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleControllerApi;

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        Integer jobId = 56; // Integer | 
        Integer notificationActionId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRuleByJobIdAndNotificationActionId(jobId, notificationActionId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#deleteJobNotificationRuleByJobIdAndNotificationActionId");
            e.printStackTrace();
        }
    }
}
Integer *jobId = 56; // 
Integer *notificationActionId = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance deleteJobNotificationRuleByJobIdAndNotificationActionIdWith:jobId
    notificationActionId:notificationActionId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleControllerApi()
var jobId = 56; // {{Integer}} 
var notificationActionId = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteJobNotificationRuleByJobIdAndNotificationActionId(jobId, notificationActionId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleControllerApi();
            var jobId = 56;  // Integer | 
            var notificationActionId = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                apiInstance.deleteJobNotificationRuleByJobIdAndNotificationActionId(jobId, notificationActionId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationRuleControllerApi.deleteJobNotificationRuleByJobIdAndNotificationActionId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationRuleControllerApi();
$jobId = 56; // Integer | 
$notificationActionId = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationRuleControllerApi->new();
my $jobId = 56; # Integer | 
my $notificationActionId = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteJobNotificationRuleByJobIdAndNotificationActionId(jobId => $jobId, notificationActionId => $notificationActionId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleControllerApi->deleteJobNotificationRuleByJobIdAndNotificationActionId: $@\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.JobNotificationRuleControllerApi()
jobId = 56 # Integer | 
notificationActionId = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_instance.delete_job_notification_rule_by_job_id_and_notification_action_id(jobId, notificationActionId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobNotificationRuleControllerApi->deleteJobNotificationRuleByJobIdAndNotificationActionId: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
Integer (int32)
Required
notificationActionId*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


findAllJobNotificationsByJobId


/internal/job-notification-rules/{jobId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/job-notification-rules/{jobId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleControllerApi;

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

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        Integer jobId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[JobNotificationRuleResponse] result = apiInstance.findAllJobNotificationsByJobId(jobId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#findAllJobNotificationsByJobId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleControllerApi;

public class JobNotificationRuleControllerApiExample {

    public static void main(String[] args) {
        JobNotificationRuleControllerApi apiInstance = new JobNotificationRuleControllerApi();
        Integer jobId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[JobNotificationRuleResponse] result = apiInstance.findAllJobNotificationsByJobId(jobId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleControllerApi#findAllJobNotificationsByJobId");
            e.printStackTrace();
        }
    }
}
Integer *jobId = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance findAllJobNotificationsByJobIdWith:jobId
    authorization:authorization
              completionHandler: ^(array[JobNotificationRuleResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleControllerApi()
var jobId = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findAllJobNotificationsByJobId(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleControllerApi();
            var jobId = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                array[JobNotificationRuleResponse] result = apiInstance.findAllJobNotificationsByJobId(jobId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationRuleControllerApi.findAllJobNotificationsByJobId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationRuleControllerApi();
$jobId = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationRuleControllerApi->new();
my $jobId = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->findAllJobNotificationsByJobId(jobId => $jobId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleControllerApi->findAllJobNotificationsByJobId: $@\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.JobNotificationRuleControllerApi()
jobId = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.find_all_job_notifications_by_job_id(jobId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationRuleControllerApi->findAllJobNotificationsByJobId: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


JobNotificationRuleOperations

createJobNotificationRuleV2

Links a Job Notification Action to a Group.


/api/v2/projects/{projectId}/job-notification-rules

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/job-notification-rules"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleOperationsApi;

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

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        CreateJobNotificationRuleRequest body = ; // CreateJobNotificationRuleRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JobNotificationRuleResponse result = apiInstance.createJobNotificationRuleV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#createJobNotificationRuleV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleOperationsApi;

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        CreateJobNotificationRuleRequest body = ; // CreateJobNotificationRuleRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JobNotificationRuleResponse result = apiInstance.createJobNotificationRuleV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#createJobNotificationRuleV2");
            e.printStackTrace();
        }
    }
}
CreateJobNotificationRuleRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Links a Job Notification Action to a Group.
[apiInstance createJobNotificationRuleV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(JobNotificationRuleResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleOperationsApi()
var body = ; // {{CreateJobNotificationRuleRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createJobNotificationRuleV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleOperationsApi();
            var body = new CreateJobNotificationRuleRequest(); // CreateJobNotificationRuleRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Links a Job Notification Action to a Group.
                JobNotificationRuleResponse result = apiInstance.createJobNotificationRuleV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationRuleOperationsApi.createJobNotificationRuleV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationRuleOperationsApi();
$body = ; // CreateJobNotificationRuleRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationRuleOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateJobNotificationRuleRequest->new(); # CreateJobNotificationRuleRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createJobNotificationRuleV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleOperationsApi->createJobNotificationRuleV2: $@\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.JobNotificationRuleOperationsApi()
body =  # CreateJobNotificationRuleRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Links a Job Notification Action to a Group.
    api_response = api_instance.create_job_notification_rule_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationRuleOperationsApi->createJobNotificationRuleV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job Notification Action created successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


deleteJobNotificationRuleByJobIdAndNotificationActionIdV2

Removes the given Job Notification Action from the job.


/api/v2/projects/{projectId}/job-notification-rules/job/{jobId}/notification-action/{notificationActionId}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/job-notification-rules/job/{jobId}/notification-action/{notificationActionId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleOperationsApi;

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

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        Integer jobId = 56; // Integer | 
        Integer notificationActionId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRuleByJobIdAndNotificationActionIdV2(jobId, notificationActionId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#deleteJobNotificationRuleByJobIdAndNotificationActionIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleOperationsApi;

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        Integer jobId = 56; // Integer | 
        Integer notificationActionId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRuleByJobIdAndNotificationActionIdV2(jobId, notificationActionId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#deleteJobNotificationRuleByJobIdAndNotificationActionIdV2");
            e.printStackTrace();
        }
    }
}
Integer *jobId = 56; // 
Integer *notificationActionId = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Removes the given Job Notification Action from the job.
[apiInstance deleteJobNotificationRuleByJobIdAndNotificationActionIdV2With:jobId
    notificationActionId:notificationActionId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleOperationsApi()
var jobId = 56; // {{Integer}} 
var notificationActionId = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteJobNotificationRuleByJobIdAndNotificationActionIdV2(jobId, notificationActionId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleOperationsApi();
            var jobId = 56;  // Integer | 
            var notificationActionId = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes the given Job Notification Action from the job.
                apiInstance.deleteJobNotificationRuleByJobIdAndNotificationActionIdV2(jobId, notificationActionId, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationRuleOperationsApi.deleteJobNotificationRuleByJobIdAndNotificationActionIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationRuleOperationsApi();
$jobId = 56; // Integer | 
$notificationActionId = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteJobNotificationRuleByJobIdAndNotificationActionIdV2($jobId, $notificationActionId, $projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling JobNotificationRuleOperationsApi->deleteJobNotificationRuleByJobIdAndNotificationActionIdV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobNotificationRuleOperationsApi;

my $api_instance = WWW::SwaggerClient::JobNotificationRuleOperationsApi->new();
my $jobId = 56; # Integer | 
my $notificationActionId = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteJobNotificationRuleByJobIdAndNotificationActionIdV2(jobId => $jobId, notificationActionId => $notificationActionId, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleOperationsApi->deleteJobNotificationRuleByJobIdAndNotificationActionIdV2: $@\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.JobNotificationRuleOperationsApi()
jobId = 56 # Integer | 
notificationActionId = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Removes the given Job Notification Action from the job.
    api_instance.delete_job_notification_rule_by_job_id_and_notification_action_id_v2(jobId, notificationActionId, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobNotificationRuleOperationsApi->deleteJobNotificationRuleByJobIdAndNotificationActionIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
Integer (int32)
Required
notificationActionId*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Job Notification Rule removed successfully.

Status: 403 - Job Notification Rule is not in the given project.

Status: 500 - Unexpected server error.

Status: 404 - Job Notification Rule not found.


deleteJobNotificationRuleV2

Removes the given Job Notification Rule.


/api/v2/projects/{projectId}/job-notification-rules/{notificationRuleId}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/job-notification-rules/{notificationRuleId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleOperationsApi;

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

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        Integer notificationRuleId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRuleV2(notificationRuleId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#deleteJobNotificationRuleV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleOperationsApi;

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        Integer notificationRuleId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotificationRuleV2(notificationRuleId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#deleteJobNotificationRuleV2");
            e.printStackTrace();
        }
    }
}
Integer *notificationRuleId = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Removes the given Job Notification Rule.
[apiInstance deleteJobNotificationRuleV2With:notificationRuleId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleOperationsApi()
var notificationRuleId = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteJobNotificationRuleV2(notificationRuleId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleOperationsApi();
            var notificationRuleId = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes the given Job Notification Rule.
                apiInstance.deleteJobNotificationRuleV2(notificationRuleId, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationRuleOperationsApi.deleteJobNotificationRuleV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationRuleOperationsApi();
$notificationRuleId = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationRuleOperationsApi->new();
my $notificationRuleId = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteJobNotificationRuleV2(notificationRuleId => $notificationRuleId, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleOperationsApi->deleteJobNotificationRuleV2: $@\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.JobNotificationRuleOperationsApi()
notificationRuleId = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Removes the given Job Notification Rule.
    api_instance.delete_job_notification_rule_v2(notificationRuleId, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobNotificationRuleOperationsApi->deleteJobNotificationRuleV2: %s\n" % e)

Parameters

Path parameters
Name Description
notificationRuleId*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Job Notification Rule removed successfully.

Status: 403 - Job Notification Rule is not in the given project.

Status: 500 - Unexpected server error.

Status: 404 - Job Notification Rule not found.


findAllJobNotificationsByJobIdV2

Retrieves Job Notification Actions for the given job.


/api/v2/projects/{projectId}/job-notification-rules/{jobId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/job-notification-rules/{jobId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobNotificationRuleOperationsApi;

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

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        Integer jobId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[JobNotificationRuleResponse] result = apiInstance.findAllJobNotificationsByJobIdV2(jobId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#findAllJobNotificationsByJobIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobNotificationRuleOperationsApi;

public class JobNotificationRuleOperationsApiExample {

    public static void main(String[] args) {
        JobNotificationRuleOperationsApi apiInstance = new JobNotificationRuleOperationsApi();
        Integer jobId = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[JobNotificationRuleResponse] result = apiInstance.findAllJobNotificationsByJobIdV2(jobId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobNotificationRuleOperationsApi#findAllJobNotificationsByJobIdV2");
            e.printStackTrace();
        }
    }
}
Integer *jobId = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves Job Notification Actions for the given job.
[apiInstance findAllJobNotificationsByJobIdV2With:jobId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(array[JobNotificationRuleResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobNotificationRuleOperationsApi()
var jobId = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findAllJobNotificationsByJobIdV2(jobId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobNotificationRuleOperationsApi();
            var jobId = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves Job Notification Actions for the given job.
                array[JobNotificationRuleResponse] result = apiInstance.findAllJobNotificationsByJobIdV2(jobId, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobNotificationRuleOperationsApi.findAllJobNotificationsByJobIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobNotificationRuleOperationsApi();
$jobId = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobNotificationRuleOperationsApi->new();
my $jobId = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->findAllJobNotificationsByJobIdV2(jobId => $jobId, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobNotificationRuleOperationsApi->findAllJobNotificationsByJobIdV2: $@\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.JobNotificationRuleOperationsApi()
jobId = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves Job Notification Actions for the given job.
    api_response = api_instance.find_all_job_notifications_by_job_id_v2(jobId, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobNotificationRuleOperationsApi->findAllJobNotificationsByJobIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Job Notification Actions retrieved successfully.

Status: 500 - Unexpected server error.


JobOperations

copySsbJob

Creates a copy of a given SSB job.


/api/v1/jobs/{id}/copy

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}/copy"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobCopyRequest body = ; // JobCopyRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.copySsbJob(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#copySsbJob");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobCopyRequest body = ; // JobCopyRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.copySsbJob(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#copySsbJob");
            e.printStackTrace();
        }
    }
}
JobCopyRequest *body = ; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a copy of a given SSB job.
[apiInstance copySsbJobWith:body
    id:id
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{JobCopyRequest}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.copySsbJob(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new JobCopyRequest(); // JobCopyRequest | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a copy of a given SSB job.
                FlinkResponseDto result = apiInstance.copySsbJob(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.copySsbJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // JobCopyRequest | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::JobCopyRequest->new(); # JobCopyRequest | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->copySsbJob(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->copySsbJob: $@\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.JobOperationsApi()
body =  # JobCopyRequest | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a copy of a given SSB job.
    api_response = api_instance.copy_ssb_job(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->copySsbJob: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job copied successfully.

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 400 - Invalid request format or content.


copySsbJobV2

Creates a copy of a given SSB job.


/api/v2/projects/{projectId}/jobs/{id}/copy

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}/copy"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobCopyRequest body = ; // JobCopyRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.copySsbJobV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#copySsbJobV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobCopyRequest body = ; // JobCopyRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.copySsbJobV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#copySsbJobV2");
            e.printStackTrace();
        }
    }
}
JobCopyRequest *body = ; // 
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a copy of a given SSB job.
[apiInstance copySsbJobV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{JobCopyRequest}} 
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.copySsbJobV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new JobCopyRequest(); // JobCopyRequest | 
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a copy of a given SSB job.
                FlinkResponseDto result = apiInstance.copySsbJobV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.copySsbJobV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // JobCopyRequest | 
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->copySsbJobV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobOperationsApi->copySsbJobV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobOperationsApi;

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::JobCopyRequest->new(); # JobCopyRequest | 
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->copySsbJobV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->copySsbJobV2: $@\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.JobOperationsApi()
body =  # JobCopyRequest | 
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a copy of a given SSB job.
    api_response = api_instance.copy_ssb_job_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->copySsbJobV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job copied successfully.

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 400 - Invalid request format or content.


createSsbJob

Creates a new SSB job.


/api/v1/jobs

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.createSsbJob(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#createSsbJob");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.createSsbJob(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#createSsbJob");
            e.printStackTrace();
        }
    }
}
SqlExecuteRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new SSB job.
[apiInstance createSsbJobWith:body
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{SqlExecuteRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createSsbJob(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new SqlExecuteRequest(); // SqlExecuteRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new SSB job.
                FlinkResponseDto result = apiInstance.createSsbJob(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.createSsbJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // SqlExecuteRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createSsbJob(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->createSsbJob: $@\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.JobOperationsApi()
body =  # SqlExecuteRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new SSB job.
    api_response = api_instance.create_ssb_job(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->createSsbJob: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Job created successfully.

Status: 400 - Invalid request format or content.


createSsbJobV2

Creates a new SSB job.


/api/v2/projects/{projectId}/jobs

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.createSsbJobV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#createSsbJobV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.createSsbJobV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#createSsbJobV2");
            e.printStackTrace();
        }
    }
}
SqlExecuteRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new SSB job.
[apiInstance createSsbJobV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{SqlExecuteRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createSsbJobV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new SqlExecuteRequest(); // SqlExecuteRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new SSB job.
                FlinkResponseDto result = apiInstance.createSsbJobV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.createSsbJobV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // SqlExecuteRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createSsbJobV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->createSsbJobV2: $@\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.JobOperationsApi()
body =  # SqlExecuteRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new SSB job.
    api_response = api_instance.create_ssb_job_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->createSsbJobV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Job created successfully.

Status: 400 - Invalid request format or content.


deleteMvApiEndpoint

Removes a Materialized View of a given SSB job.


/api/v1/jobs/{id}/mv

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}/mv?endpoint="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String endpoint = endpoint_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteMvApiEndpoint(id, endpoint, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteMvApiEndpoint");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String endpoint = endpoint_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteMvApiEndpoint(id, endpoint, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteMvApiEndpoint");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *endpoint = endpoint_example; // 
String *authorization = authorization_example; //  (optional)

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

// Removes a Materialized View of a given SSB job.
[apiInstance deleteMvApiEndpointWith:id
    endpoint:endpoint
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var endpoint = endpoint_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteMvApiEndpoint(id, endpoint, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var endpoint = endpoint_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes a Materialized View of a given SSB job.
                apiInstance.deleteMvApiEndpoint(id, endpoint, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.deleteMvApiEndpoint: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$endpoint = endpoint_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $endpoint = endpoint_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteMvApiEndpoint(id => $id, endpoint => $endpoint, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->deleteMvApiEndpoint: $@\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.JobOperationsApi()
id = 56 # Integer | 
endpoint = endpoint_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Removes a Materialized View of a given SSB job.
    api_instance.delete_mv_api_endpoint(id, endpoint, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobOperationsApi->deleteMvApiEndpoint: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
endpoint*
String
Required

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Materialized View removed successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.


deleteMvApiEndpointV2

Removes a Materialized View of a given SSB job.


/api/v2/projects/{projectId}/jobs/{id}/mv

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}/mv?endpoint="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String endpoint = endpoint_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteMvApiEndpointV2(id, endpoint, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteMvApiEndpointV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String endpoint = endpoint_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteMvApiEndpointV2(id, endpoint, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteMvApiEndpointV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *endpoint = endpoint_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Removes a Materialized View of a given SSB job.
[apiInstance deleteMvApiEndpointV2With:id
    endpoint:endpoint
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var endpoint = endpoint_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteMvApiEndpointV2(id, endpoint, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var endpoint = endpoint_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes a Materialized View of a given SSB job.
                apiInstance.deleteMvApiEndpointV2(id, endpoint, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.deleteMvApiEndpointV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$endpoint = endpoint_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteMvApiEndpointV2($id, $endpoint, $projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling JobOperationsApi->deleteMvApiEndpointV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobOperationsApi;

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $endpoint = endpoint_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteMvApiEndpointV2(id => $id, endpoint => $endpoint, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->deleteMvApiEndpointV2: $@\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.JobOperationsApi()
id = 56 # Integer | 
endpoint = endpoint_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Removes a Materialized View of a given SSB job.
    api_instance.delete_mv_api_endpoint_v2(id, endpoint, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobOperationsApi->deleteMvApiEndpointV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
endpoint*
String
Required

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Materialized View removed successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 400 - Invalid request format or content.


deleteSsbJob

Removes the given job.


/api/v1/jobs/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSsbJob(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteSsbJob");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSsbJob(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteSsbJob");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Removes the given job.
[apiInstance deleteSsbJobWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteSsbJob(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes the given job.
                apiInstance.deleteSsbJob(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.deleteSsbJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteSsbJob(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->deleteSsbJob: $@\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.JobOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Removes the given job.
    api_instance.delete_ssb_job(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobOperationsApi->deleteSsbJob: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Job removed successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.


deleteSsbJobV2

Removes the given job.


/api/v2/projects/{projectId}/jobs/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSsbJobV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteSsbJobV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSsbJobV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#deleteSsbJobV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Removes the given job.
[apiInstance deleteSsbJobV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteSsbJobV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes the given job.
                apiInstance.deleteSsbJobV2(id, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.deleteSsbJobV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteSsbJobV2(id => $id, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->deleteSsbJobV2: $@\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.JobOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Removes the given job.
    api_instance.delete_ssb_job_v2(id, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling JobOperationsApi->deleteSsbJobV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Job removed successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.


execute

Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.


/api/v1/jobs/{id}/execute

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}/execute"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            SqlExecuteResponses result = apiInstance.execute(id, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#execute");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            SqlExecuteResponses result = apiInstance.execute(id, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#execute");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
SqlExecuteRequest *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.
[apiInstance executeWith:id
    body:body
    authorization:authorization
              completionHandler: ^(SqlExecuteResponses output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'body':  // {{SqlExecuteRequest}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.execute(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var body = new SqlExecuteRequest(); // SqlExecuteRequest |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.
                SqlExecuteResponses result = apiInstance.execute(id, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.execute: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$body = ; // SqlExecuteRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->execute(id => $id, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->execute: $@\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.JobOperationsApi()
id = 56 # Integer | 
body =  # SqlExecuteRequest |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.
    api_response = api_instance.execute(id, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->execute: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - Job executed successfully.

Status: 500 - Unexpected server error.

Status: 403 - Job is not in the active project or executing user has insufficient permissions.

Status: 404 - Job not found.

Status: 400 - Invalid request format or content.


executeV2

Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.


/api/v2/projects/{projectId}/jobs/{id}/execute

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}/execute"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            SqlExecuteResponses result = apiInstance.executeV2(id, projectId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#executeV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            SqlExecuteResponses result = apiInstance.executeV2(id, projectId, body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#executeV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
SqlExecuteRequest *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.
[apiInstance executeV2With:id
    projectId:projectId
    body:body
    authorization:authorization
              completionHandler: ^(SqlExecuteResponses output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'body':  // {{SqlExecuteRequest}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.executeV2(idprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var body = new SqlExecuteRequest(); // SqlExecuteRequest |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.
                SqlExecuteResponses result = apiInstance.executeV2(id, projectId, body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.executeV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$body = ; // SqlExecuteRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->executeV2($id, $projectId, $body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobOperationsApi->executeV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobOperationsApi;

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->executeV2(id => $id, projectId => $projectId, body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->executeV2: $@\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.JobOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
body =  # SqlExecuteRequest |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Executes the given SSB job. In case of a changed configuration, the job will be updated before execution.
    api_response = api_instance.execute_v2(id, projectId, body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->executeV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - Job executed successfully.

Status: 500 - Unexpected server error.

Status: 403 - Job is not in the active project or executing user has insufficient permissions.

Status: 404 - Job not found.

Status: 400 - Invalid request format or content.


getJobLogItems

Retrieves the events of a given SSB job.


/api/v1/jobs/{id}/events

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}/events"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[JobLogItemDto] result = apiInstance.getJobLogItems(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobLogItems");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[JobLogItemDto] result = apiInstance.getJobLogItems(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobLogItems");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the events of a given SSB job.
[apiInstance getJobLogItemsWith:id
    authorization:authorization
              completionHandler: ^(array[JobLogItemDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobLogItems(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the events of a given SSB job.
                array[JobLogItemDto] result = apiInstance.getJobLogItems(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getJobLogItems: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobLogItems(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getJobLogItems: $@\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.JobOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the events of a given SSB job.
    api_response = api_instance.get_job_log_items(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getJobLogItems: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 200 - Job events retrieved successfully.


getJobLogItemsV2

Retrieves the events of a given SSB job.


/api/v2/projects/{projectId}/jobs/{id}/events

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}/events"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[JobLogItemDto] result = apiInstance.getJobLogItemsV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobLogItemsV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[JobLogItemDto] result = apiInstance.getJobLogItemsV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobLogItemsV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the events of a given SSB job.
[apiInstance getJobLogItemsV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(array[JobLogItemDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobLogItemsV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the events of a given SSB job.
                array[JobLogItemDto] result = apiInstance.getJobLogItemsV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getJobLogItemsV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobLogItemsV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getJobLogItemsV2: $@\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.JobOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the events of a given SSB job.
    api_response = api_instance.get_job_log_items_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getJobLogItemsV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 200 - Job events retrieved successfully.


getJobState

Retrieves the state of a given SSB job.


/api/v1/jobs/{id}/state

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}/state"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            JobStateResponse result = apiInstance.getJobState(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobState");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            JobStateResponse result = apiInstance.getJobState(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobState");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the state of a given SSB job.
[apiInstance getJobStateWith:id
    authorization:authorization
              completionHandler: ^(JobStateResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobState(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the state of a given SSB job.
                JobStateResponse result = apiInstance.getJobState(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getJobState: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobState(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getJobState: $@\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.JobOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the state of a given SSB job.
    api_response = api_instance.get_job_state(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getJobState: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 200 - Job state retrieved successfully.


getJobStateV2

Retrieves the state of a given SSB job.


/api/v2/projects/{projectId}/jobs/{id}/state

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}/state"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JobStateResponse result = apiInstance.getJobStateV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobStateV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JobStateResponse result = apiInstance.getJobStateV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getJobStateV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the state of a given SSB job.
[apiInstance getJobStateV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(JobStateResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobStateV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the state of a given SSB job.
                JobStateResponse result = apiInstance.getJobStateV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getJobStateV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobStateV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getJobStateV2: $@\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.JobOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the state of a given SSB job.
    api_response = api_instance.get_job_state_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getJobStateV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 200 - Job state retrieved successfully.


getSsbJob

Retrieves the given SSB job.


/api/v1/jobs/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.getSsbJob(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJob");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.getSsbJob(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJob");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the given SSB job.
[apiInstance getSsbJobWith:id
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSsbJob(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the given SSB job.
                FlinkResponseDto result = apiInstance.getSsbJob(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getSsbJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getSsbJob(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getSsbJob: $@\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.JobOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the given SSB job.
    api_response = api_instance.get_ssb_job(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getSsbJob: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Job retrieved successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.


getSsbJobV2

Retrieves the given SSB job.


/api/v2/projects/{projectId}/jobs/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.getSsbJobV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJobV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.getSsbJobV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJobV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves the given SSB job.
[apiInstance getSsbJobV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSsbJobV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the given SSB job.
                FlinkResponseDto result = apiInstance.getSsbJobV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getSsbJobV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getSsbJobV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getSsbJobV2: $@\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.JobOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the given SSB job.
    api_response = api_instance.get_ssb_job_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getSsbJobV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Job retrieved successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.


getSsbJobs

Retrieves SSB jobs.


/api/v1/jobs

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs?state="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        String state = state_example; // String | Filters jobs by state.
        String authorization = authorization_example; // String | 
        try {
            FlinkJobsResponse result = apiInstance.getSsbJobs(state, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJobs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        String state = state_example; // String | Filters jobs by state.
        String authorization = authorization_example; // String | 
        try {
            FlinkJobsResponse result = apiInstance.getSsbJobs(state, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJobs");
            e.printStackTrace();
        }
    }
}
String *state = state_example; // Filters jobs by state. (optional)
String *authorization = authorization_example; //  (optional)

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

// Retrieves SSB jobs.
[apiInstance getSsbJobsWith:state
    authorization:authorization
              completionHandler: ^(FlinkJobsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var opts = { 
  'state': state_example, // {{String}} Filters jobs by state.
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSsbJobs(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var state = state_example;  // String | Filters jobs by state. (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves SSB jobs.
                FlinkJobsResponse result = apiInstance.getSsbJobs(state, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getSsbJobs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$state = state_example; // String | Filters jobs by state.
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $state = state_example; # String | Filters jobs by state.
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getSsbJobs(state => $state, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getSsbJobs: $@\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.JobOperationsApi()
state = state_example # String | Filters jobs by state. (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves SSB jobs.
    api_response = api_instance.get_ssb_jobs(state=state, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getSsbJobs: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
state
String
Filters jobs by state.

Responses

Status: 200 - Jobs retrieved successfully.

Status: 500 - Unexpected server error.


getSsbJobsV2

Retrieves SSB jobs.


/api/v2/projects/{projectId}/jobs

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs?state="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        String projectId = projectId_example; // String | 
        String state = state_example; // String | Filters jobs by state.
        String authorization = authorization_example; // String | 
        try {
            FlinkJobsResponse result = apiInstance.getSsbJobsV2(projectId, state, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJobsV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        String projectId = projectId_example; // String | 
        String state = state_example; // String | Filters jobs by state.
        String authorization = authorization_example; // String | 
        try {
            FlinkJobsResponse result = apiInstance.getSsbJobsV2(projectId, state, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#getSsbJobsV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *state = state_example; // Filters jobs by state. (optional)
String *authorization = authorization_example; //  (optional)

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

// Retrieves SSB jobs.
[apiInstance getSsbJobsV2With:projectId
    state:state
    authorization:authorization
              completionHandler: ^(FlinkJobsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'state': state_example, // {{String}} Filters jobs by state.
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSsbJobsV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var projectId = projectId_example;  // String | 
            var state = state_example;  // String | Filters jobs by state. (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves SSB jobs.
                FlinkJobsResponse result = apiInstance.getSsbJobsV2(projectId, state, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.getSsbJobsV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$projectId = projectId_example; // String | 
$state = state_example; // String | Filters jobs by state.
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $projectId = projectId_example; # String | 
my $state = state_example; # String | Filters jobs by state.
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getSsbJobsV2(projectId => $projectId, state => $state, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->getSsbJobsV2: $@\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.JobOperationsApi()
projectId = projectId_example # String | 
state = state_example # String | Filters jobs by state. (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves SSB jobs.
    api_response = api_instance.get_ssb_jobs_v2(projectId, state=state, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->getSsbJobsV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
state
String
Filters jobs by state.

Responses

Status: 200 - Jobs retrieved successfully.

Status: 500 - Unexpected server error.


stopJob

Stops the given SSB job.


/api/v1/jobs/{id}/stop

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}/stop"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobStopRequest body = ; // JobStopRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            JobStopResponse result = apiInstance.stopJob(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#stopJob");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobStopRequest body = ; // JobStopRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            JobStopResponse result = apiInstance.stopJob(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#stopJob");
            e.printStackTrace();
        }
    }
}
JobStopRequest *body = ; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Stops the given SSB job.
[apiInstance stopJobWith:body
    id:id
    authorization:authorization
              completionHandler: ^(JobStopResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{JobStopRequest}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.stopJob(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new JobStopRequest(); // JobStopRequest | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Stops the given SSB job.
                JobStopResponse result = apiInstance.stopJob(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.stopJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // JobStopRequest | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::JobStopRequest->new(); # JobStopRequest | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->stopJob(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->stopJob: $@\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.JobOperationsApi()
body =  # JobStopRequest | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Stops the given SSB job.
    api_response = api_instance.stop_job(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->stopJob: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job stopped successfully.

Status: 500 - Unexpected server error.

Status: 403 - Job is not in the active project or executing user has insufficient permissions.

Status: 404 - Job not found.


stopJobV2

Stops the given SSB job.


/api/v2/projects/{projectId}/jobs/{id}/stop

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}/stop"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobStopRequest body = ; // JobStopRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JobStopResponse result = apiInstance.stopJobV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#stopJobV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        JobStopRequest body = ; // JobStopRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JobStopResponse result = apiInstance.stopJobV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#stopJobV2");
            e.printStackTrace();
        }
    }
}
JobStopRequest *body = ; // 
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Stops the given SSB job.
[apiInstance stopJobV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(JobStopResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{JobStopRequest}} 
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.stopJobV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new JobStopRequest(); // JobStopRequest | 
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Stops the given SSB job.
                JobStopResponse result = apiInstance.stopJobV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.stopJobV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // JobStopRequest | 
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->stopJobV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobOperationsApi->stopJobV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobOperationsApi;

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::JobStopRequest->new(); # JobStopRequest | 
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->stopJobV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->stopJobV2: $@\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.JobOperationsApi()
body =  # JobStopRequest | 
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Stops the given SSB job.
    api_response = api_instance.stop_job_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->stopJobV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Job stopped successfully.

Status: 500 - Unexpected server error.

Status: 403 - Job is not in the active project or executing user has insufficient permissions.

Status: 404 - Job not found.


updateSsbJob

Updates the given SSB job.


/api/v1/jobs/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.updateSsbJob(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#updateSsbJob");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.updateSsbJob(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#updateSsbJob");
            e.printStackTrace();
        }
    }
}
SqlExecuteRequest *body = ; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Updates the given SSB job.
[apiInstance updateSsbJobWith:body
    id:id
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{SqlExecuteRequest}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSsbJob(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new SqlExecuteRequest(); // SqlExecuteRequest | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the given SSB job.
                FlinkResponseDto result = apiInstance.updateSsbJob(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.updateSsbJob: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // SqlExecuteRequest | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateSsbJob(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->updateSsbJob: $@\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.JobOperationsApi()
body =  # SqlExecuteRequest | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the given SSB job.
    api_response = api_instance.update_ssb_job(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->updateSsbJob: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Job updated successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 400 - Invalid request format or content.


updateSsbJobV2

Updates the given SSB job.


/api/v2/projects/{projectId}/jobs/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.updateSsbJobV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#updateSsbJobV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            FlinkResponseDto result = apiInstance.updateSsbJobV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#updateSsbJobV2");
            e.printStackTrace();
        }
    }
}
SqlExecuteRequest *body = ; // 
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Updates the given SSB job.
[apiInstance updateSsbJobV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(FlinkResponseDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{SqlExecuteRequest}} 
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateSsbJobV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new SqlExecuteRequest(); // SqlExecuteRequest | 
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the given SSB job.
                FlinkResponseDto result = apiInstance.updateSsbJobV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.updateSsbJobV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // SqlExecuteRequest | 
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateSsbJobV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobOperationsApi->updateSsbJobV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobOperationsApi;

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateSsbJobV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->updateSsbJobV2: $@\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.JobOperationsApi()
body =  # SqlExecuteRequest | 
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the given SSB job.
    api_response = api_instance.update_ssb_job_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->updateSsbJobV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 403 - Job is not in the active project.

Status: 200 - Job updated successfully.

Status: 500 - Unexpected server error.

Status: 404 - Job not found.

Status: 400 - Invalid request format or content.


upsertMvApiEndpoint

Creates or updates a Materialized View of a given job.


/api/v1/jobs/{id}/mv

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/jobs/{id}/mv"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        ApiEndpointDto body = ; // ApiEndpointDto | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ApiEndpointDto result = apiInstance.upsertMvApiEndpoint(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#upsertMvApiEndpoint");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        ApiEndpointDto body = ; // ApiEndpointDto | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            ApiEndpointDto result = apiInstance.upsertMvApiEndpoint(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#upsertMvApiEndpoint");
            e.printStackTrace();
        }
    }
}
ApiEndpointDto *body = ; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Creates or updates a Materialized View of a given job.
[apiInstance upsertMvApiEndpointWith:body
    id:id
    authorization:authorization
              completionHandler: ^(ApiEndpointDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{ApiEndpointDto}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.upsertMvApiEndpoint(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new ApiEndpointDto(); // ApiEndpointDto | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates or updates a Materialized View of a given job.
                ApiEndpointDto result = apiInstance.upsertMvApiEndpoint(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.upsertMvApiEndpoint: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // ApiEndpointDto | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ApiEndpointDto->new(); # ApiEndpointDto | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->upsertMvApiEndpoint(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->upsertMvApiEndpoint: $@\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.JobOperationsApi()
body =  # ApiEndpointDto | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates or updates a Materialized View of a given job.
    api_response = api_instance.upsert_mv_api_endpoint(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->upsertMvApiEndpoint: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 200 - Materialized View created/updated successfully.

Status: 404 - Job not found.


upsertMvApiEndpointV2

Creates or updates a Materialized View of a given job.


/api/v2/projects/{projectId}/jobs/{id}/mv

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/jobs/{id}/mv"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.JobOperationsApi;

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

public class JobOperationsApiExample {

    public static void main(String[] args) {
        
        JobOperationsApi apiInstance = new JobOperationsApi();
        ApiEndpointDto body = ; // ApiEndpointDto | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ApiEndpointDto result = apiInstance.upsertMvApiEndpointV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#upsertMvApiEndpointV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.JobOperationsApi;

public class JobOperationsApiExample {

    public static void main(String[] args) {
        JobOperationsApi apiInstance = new JobOperationsApi();
        ApiEndpointDto body = ; // ApiEndpointDto | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ApiEndpointDto result = apiInstance.upsertMvApiEndpointV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling JobOperationsApi#upsertMvApiEndpointV2");
            e.printStackTrace();
        }
    }
}
ApiEndpointDto *body = ; // 
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Creates or updates a Materialized View of a given job.
[apiInstance upsertMvApiEndpointV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ApiEndpointDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.JobOperationsApi()
var body = ; // {{ApiEndpointDto}} 
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.upsertMvApiEndpointV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new JobOperationsApi();
            var body = new ApiEndpointDto(); // ApiEndpointDto | 
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates or updates a Materialized View of a given job.
                ApiEndpointDto result = apiInstance.upsertMvApiEndpointV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling JobOperationsApi.upsertMvApiEndpointV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiJobOperationsApi();
$body = ; // ApiEndpointDto | 
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->upsertMvApiEndpointV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling JobOperationsApi->upsertMvApiEndpointV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::JobOperationsApi;

my $api_instance = WWW::SwaggerClient::JobOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ApiEndpointDto->new(); # ApiEndpointDto | 
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->upsertMvApiEndpointV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling JobOperationsApi->upsertMvApiEndpointV2: $@\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.JobOperationsApi()
body =  # ApiEndpointDto | 
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates or updates a Materialized View of a given job.
    api_response = api_instance.upsert_mv_api_endpoint_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling JobOperationsApi->upsertMvApiEndpointV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 403 - Job is not in the active project.

Status: 500 - Unexpected server error.

Status: 200 - Materialized View created/updated successfully.

Status: 404 - Job not found.


KafkaController

getDependentCatalogs


/internal/kafka/{providerId}/dependent-catalogs

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/kafka/{providerId}/dependent-catalogs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.KafkaControllerApi;

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

public class KafkaControllerApiExample {

    public static void main(String[] args) {
        
        KafkaControllerApi apiInstance = new KafkaControllerApi();
        String providerId = providerId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array['String'] result = apiInstance.getDependentCatalogs(providerId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KafkaControllerApi#getDependentCatalogs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.KafkaControllerApi;

public class KafkaControllerApiExample {

    public static void main(String[] args) {
        KafkaControllerApi apiInstance = new KafkaControllerApi();
        String providerId = providerId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array['String'] result = apiInstance.getDependentCatalogs(providerId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KafkaControllerApi#getDependentCatalogs");
            e.printStackTrace();
        }
    }
}
String *providerId = providerId_example; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance getDependentCatalogsWith:providerId
    authorization:authorization
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.KafkaControllerApi()
var providerId = providerId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getDependentCatalogs(providerId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new KafkaControllerApi();
            var providerId = providerId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiKafkaControllerApi();
$providerId = providerId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::KafkaControllerApi->new();
my $providerId = providerId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getDependentCatalogs(providerId => $providerId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling KafkaControllerApi->getDependentCatalogs: $@\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.KafkaControllerApi()
providerId = providerId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_dependent_catalogs(providerId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling KafkaControllerApi->getDependentCatalogs: %s\n" % e)

Parameters

Path parameters
Name Description
providerId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getSchema


/internal/kafka/{providerId}/schema

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/kafka/{providerId}/schema?topic_name=&transformation="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.KafkaControllerApi;

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

public class KafkaControllerApiExample {

    public static void main(String[] args) {
        
        KafkaControllerApi apiInstance = new KafkaControllerApi();
        String providerId = providerId_example; // String | 
        String topicName = topicName_example; // String | 
        String transformation = transformation_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JsonNode result = apiInstance.getSchema(providerId, topicName, transformation, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KafkaControllerApi#getSchema");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.KafkaControllerApi;

public class KafkaControllerApiExample {

    public static void main(String[] args) {
        KafkaControllerApi apiInstance = new KafkaControllerApi();
        String providerId = providerId_example; // String | 
        String topicName = topicName_example; // String | 
        String transformation = transformation_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            JsonNode result = apiInstance.getSchema(providerId, topicName, transformation, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KafkaControllerApi#getSchema");
            e.printStackTrace();
        }
    }
}
String *providerId = providerId_example; // 
String *topicName = topicName_example; // 
String *transformation = transformation_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

[apiInstance getSchemaWith:providerId
    topicName:topicName
    transformation:transformation
    authorization:authorization
              completionHandler: ^(JsonNode output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.KafkaControllerApi()
var providerId = providerId_example; // {{String}} 
var topicName = topicName_example; // {{String}} 
var opts = { 
  'transformation': transformation_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSchema(providerId, topicName, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new KafkaControllerApi();
            var providerId = providerId_example;  // String | 
            var topicName = topicName_example;  // String | 
            var transformation = transformation_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                JsonNode result = apiInstance.getSchema(providerId, topicName, transformation, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling KafkaControllerApi.getSchema: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiKafkaControllerApi();
$providerId = providerId_example; // String | 
$topicName = topicName_example; // String | 
$transformation = transformation_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getSchema($providerId, $topicName, $transformation, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling KafkaControllerApi->getSchema: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::KafkaControllerApi;

my $api_instance = WWW::SwaggerClient::KafkaControllerApi->new();
my $providerId = providerId_example; # String | 
my $topicName = topicName_example; # String | 
my $transformation = transformation_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getSchema(providerId => $providerId, topicName => $topicName, transformation => $transformation, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling KafkaControllerApi->getSchema: $@\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.KafkaControllerApi()
providerId = providerId_example # String | 
topicName = topicName_example # String | 
transformation = transformation_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_schema(providerId, topicName, transformation=transformation, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling KafkaControllerApi->getSchema: %s\n" % e)

Parameters

Path parameters
Name Description
providerId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
topic_name*
String
Required
transformation
String

Responses

Status: 200 - OK


getTopics


/internal/kafka/{providerId}/topics

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/kafka/{providerId}/topics"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.KafkaControllerApi;

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

public class KafkaControllerApiExample {

    public static void main(String[] args) {
        
        KafkaControllerApi apiInstance = new KafkaControllerApi();
        String providerId = providerId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            KafkaTopicsResponse result = apiInstance.getTopics(providerId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KafkaControllerApi#getTopics");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.KafkaControllerApi;

public class KafkaControllerApiExample {

    public static void main(String[] args) {
        KafkaControllerApi apiInstance = new KafkaControllerApi();
        String providerId = providerId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            KafkaTopicsResponse result = apiInstance.getTopics(providerId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling KafkaControllerApi#getTopics");
            e.printStackTrace();
        }
    }
}
String *providerId = providerId_example; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance getTopicsWith:providerId
    authorization:authorization
              completionHandler: ^(KafkaTopicsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.KafkaControllerApi()
var providerId = providerId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTopics(providerId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new KafkaControllerApi();
            var providerId = providerId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                KafkaTopicsResponse result = apiInstance.getTopics(providerId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling KafkaControllerApi.getTopics: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiKafkaControllerApi();
$providerId = providerId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::KafkaControllerApi->new();
my $providerId = providerId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getTopics(providerId => $providerId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling KafkaControllerApi->getTopics: $@\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.KafkaControllerApi()
providerId = providerId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_topics(providerId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling KafkaControllerApi->getTopics: %s\n" % e)

Parameters

Path parameters
Name Description
providerId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


NotificationActionController

addToJobNotificationGroup


/internal/notification-actions/groups/{groupId}/child/{childId}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/groups/{groupId}/child/{childId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.addToJobNotificationGroup(groupId, childId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#addToJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.addToJobNotificationGroup(groupId, childId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#addToJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
Integer *groupId = 56; // 
Integer *childId = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance addToJobNotificationGroupWith:groupId
    childId:childId
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var groupId = 56; // {{Integer}} 
var childId = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.addToJobNotificationGroup(groupId, childId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var groupId = 56;  // Integer | 
            var childId = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                NotificationGroupResponse result = apiInstance.addToJobNotificationGroup(groupId, childId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.addToJobNotificationGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$groupId = 56; // Integer | 
$childId = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $groupId = 56; # Integer | 
my $childId = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->addToJobNotificationGroup(groupId => $groupId, childId => $childId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->addToJobNotificationGroup: $@\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.NotificationActionControllerApi()
groupId = 56 # Integer | 
childId = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.add_to_job_notification_group(groupId, childId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->addToJobNotificationGroup: %s\n" % e)

Parameters

Path parameters
Name Description
groupId*
Integer (int32)
Required
childId*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


createJobNotification


/internal/notification-actions

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.createJobNotification(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#createJobNotification");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.createJobNotification(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#createJobNotification");
            e.printStackTrace();
        }
    }
}
CreateNotificationActionRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance createJobNotificationWith:body
    authorization:authorization
              completionHandler: ^(NotificationActionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var body = ; // {{CreateNotificationActionRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createJobNotification(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var body = new CreateNotificationActionRequest(); // CreateNotificationActionRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                NotificationActionResponse result = apiInstance.createJobNotification(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.createJobNotification: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$body = ; // CreateNotificationActionRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationActionRequest->new(); # CreateNotificationActionRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createJobNotification(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->createJobNotification: $@\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.NotificationActionControllerApi()
body =  # CreateNotificationActionRequest | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.create_job_notification(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->createJobNotification: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


createJobNotificationGroup


/internal/notification-actions/groups

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/groups"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.createJobNotificationGroup(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#createJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.createJobNotificationGroup(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#createJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
CreateNotificationGroupRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance createJobNotificationGroupWith:body
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var body = ; // {{CreateNotificationGroupRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createJobNotificationGroup(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var body = new CreateNotificationGroupRequest(); // CreateNotificationGroupRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                NotificationGroupResponse result = apiInstance.createJobNotificationGroup(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.createJobNotificationGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$body = ; // CreateNotificationGroupRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationGroupRequest->new(); # CreateNotificationGroupRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createJobNotificationGroup(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->createJobNotificationGroup: $@\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.NotificationActionControllerApi()
body =  # CreateNotificationGroupRequest | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.create_job_notification_group(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->createJobNotificationGroup: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


deleteJobNotification


/internal/notification-actions/{id}

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotification(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#deleteJobNotification");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteJobNotification(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#deleteJobNotification");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance deleteJobNotificationWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteJobNotification(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteJobNotification(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->deleteJobNotification: $@\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.NotificationActionControllerApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_instance.delete_job_notification(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->deleteJobNotification: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


findAllJobNotificationByJobId


/internal/notification-actions/job/{jobId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/job/{jobId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer jobId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.findAllJobNotificationByJobId(jobId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#findAllJobNotificationByJobId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer jobId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.findAllJobNotificationByJobId(jobId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#findAllJobNotificationByJobId");
            e.printStackTrace();
        }
    }
}
Integer *jobId = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance findAllJobNotificationByJobIdWith:jobId
    authorization:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var jobId = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findAllJobNotificationByJobId(jobId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var jobId = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                array[NotificationActionResponse] result = apiInstance.findAllJobNotificationByJobId(jobId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.findAllJobNotificationByJobId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$jobId = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $jobId = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->findAllJobNotificationByJobId(jobId => $jobId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->findAllJobNotificationByJobId: $@\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.NotificationActionControllerApi()
jobId = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.find_all_job_notification_by_job_id(jobId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->findAllJobNotificationByJobId: %s\n" % e)

Parameters

Path parameters
Name Description
jobId*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getJobNotification


/internal/notification-actions/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.getJobNotification(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getJobNotification");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.getJobNotification(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getJobNotification");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance getJobNotificationWith:id
    authorization:authorization
              completionHandler: ^(NotificationActionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobNotification(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                NotificationActionResponse result = apiInstance.getJobNotification(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.getJobNotification: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobNotification(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->getJobNotification: $@\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.NotificationActionControllerApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_job_notification(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->getJobNotification: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getJobNotificationGroup


/internal/notification-actions/groups/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.getJobNotificationGroup(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.getJobNotificationGroup(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance getJobNotificationGroupWith:id
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobNotificationGroup(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                NotificationGroupResponse result = apiInstance.getJobNotificationGroup(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.getJobNotificationGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobNotificationGroup(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->getJobNotificationGroup: $@\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.NotificationActionControllerApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_job_notification_group(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->getJobNotificationGroup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getJobNotificationGroupChildren


/internal/notification-actions/groups/{id}/children

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/groups/{id}/children"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.getJobNotificationGroupChildren(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getJobNotificationGroupChildren");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.getJobNotificationGroupChildren(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getJobNotificationGroupChildren");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance getJobNotificationGroupChildrenWith:id
    authorization:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getJobNotificationGroupChildren(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                array[NotificationActionResponse] result = apiInstance.getJobNotificationGroupChildren(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.getJobNotificationGroupChildren: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getJobNotificationGroupChildren(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->getJobNotificationGroupChildren: $@\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.NotificationActionControllerApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_job_notification_group_children(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->getJobNotificationGroupChildren: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


getNotificationTemplateVariables


/internal/notification-actions/template-variables

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/template-variables"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        String authorization = authorization_example; // String | 
        try {
            array['String'] result = apiInstance.getNotificationTemplateVariables(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getNotificationTemplateVariables");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        String authorization = authorization_example; // String | 
        try {
            array['String'] result = apiInstance.getNotificationTemplateVariables(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#getNotificationTemplateVariables");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance getNotificationTemplateVariablesWith:authorization
              completionHandler: ^(array['String'] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getNotificationTemplateVariables(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getNotificationTemplateVariables(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->getNotificationTemplateVariables: $@\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.NotificationActionControllerApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_notification_template_variables(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->getNotificationTemplateVariables: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


listAllJobNotificationActions


/internal/notification-actions

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.listAllJobNotificationActions(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#listAllJobNotificationActions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.listAllJobNotificationActions(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#listAllJobNotificationActions");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

[apiInstance listAllJobNotificationActionsWith:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.listAllJobNotificationActions(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->listAllJobNotificationActions(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->listAllJobNotificationActions: $@\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.NotificationActionControllerApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.list_all_job_notification_actions(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->listAllJobNotificationActions: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


removeFromJobNotificationGroup


/internal/notification-actions/groups/{groupId}/child/{childId}

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/groups/{groupId}/child/{childId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeFromJobNotificationGroup(groupId, childId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#removeFromJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer groupId = 56; // Integer | 
        Integer childId = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeFromJobNotificationGroup(groupId, childId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#removeFromJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
Integer *groupId = 56; // 
Integer *childId = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance removeFromJobNotificationGroupWith:groupId
    childId:childId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var groupId = 56; // {{Integer}} 
var childId = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.removeFromJobNotificationGroup(groupId, childId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var groupId = 56;  // Integer | 
            var childId = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                apiInstance.removeFromJobNotificationGroup(groupId, childId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.removeFromJobNotificationGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$groupId = 56; // Integer | 
$childId = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $groupId = 56; # Integer | 
my $childId = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->removeFromJobNotificationGroup(groupId => $groupId, childId => $childId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->removeFromJobNotificationGroup: $@\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.NotificationActionControllerApi()
groupId = 56 # Integer | 
childId = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_instance.remove_from_job_notification_group(groupId, childId, authorization=authorization)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->removeFromJobNotificationGroup: %s\n" % e)

Parameters

Path parameters
Name Description
groupId*
Integer (int32)
Required
childId*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


resolveJobNotificationGroupActions


/internal/notification-actions/groups/{id}/resolve-actions

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/groups/{id}/resolve-actions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.resolveJobNotificationGroupActions(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#resolveJobNotificationGroupActions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            array[NotificationActionResponse] result = apiInstance.resolveJobNotificationGroupActions(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#resolveJobNotificationGroupActions");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance resolveJobNotificationGroupActionsWith:id
    authorization:authorization
              completionHandler: ^(array[NotificationActionResponse] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.resolveJobNotificationGroupActions(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                array[NotificationActionResponse] result = apiInstance.resolveJobNotificationGroupActions(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.resolveJobNotificationGroupActions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->resolveJobNotificationGroupActions(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->resolveJobNotificationGroupActions: $@\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.NotificationActionControllerApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.resolve_job_notification_group_actions(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->resolveJobNotificationGroupActions: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


updateJobNotification


/internal/notification-actions/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.updateJobNotification(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#updateJobNotification");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationActionResponse result = apiInstance.updateJobNotification(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#updateJobNotification");
            e.printStackTrace();
        }
    }
}
CreateNotificationActionRequest *body = ; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance updateJobNotificationWith:body
    id:id
    authorization:authorization
              completionHandler: ^(NotificationActionResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var body = ; // {{CreateNotificationActionRequest}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateJobNotification(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var body = new CreateNotificationActionRequest(); // CreateNotificationActionRequest | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                NotificationActionResponse result = apiInstance.updateJobNotification(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.updateJobNotification: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$body = ; // CreateNotificationActionRequest | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationActionRequest->new(); # CreateNotificationActionRequest | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateJobNotification(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->updateJobNotification: $@\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.NotificationActionControllerApi()
body =  # CreateNotificationActionRequest | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.update_job_notification(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->updateJobNotification: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


updateJobNotificationGroup


/internal/notification-actions/groups/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/groups/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.updateJobNotificationGroup(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#updateJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationGroupRequest body = ; // CreateNotificationGroupRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            NotificationGroupResponse result = apiInstance.updateJobNotificationGroup(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#updateJobNotificationGroup");
            e.printStackTrace();
        }
    }
}
CreateNotificationGroupRequest *body = ; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance updateJobNotificationGroupWith:body
    id:id
    authorization:authorization
              completionHandler: ^(NotificationGroupResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var body = ; // {{CreateNotificationGroupRequest}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateJobNotificationGroup(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var body = new CreateNotificationGroupRequest(); // CreateNotificationGroupRequest | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                NotificationGroupResponse result = apiInstance.updateJobNotificationGroup(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling NotificationActionControllerApi.updateJobNotificationGroup: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$body = ; // CreateNotificationGroupRequest | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationGroupRequest->new(); # CreateNotificationGroupRequest | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateJobNotificationGroup(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->updateJobNotificationGroup: $@\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.NotificationActionControllerApi()
body =  # CreateNotificationGroupRequest | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.update_job_notification_group(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->updateJobNotificationGroup: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


validateWebhookBody


/internal/notification-actions/validate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/notification-actions/validate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.NotificationActionControllerApi;

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

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateWebhookBody(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#validateWebhookBody");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.NotificationActionControllerApi;

public class NotificationActionControllerApiExample {

    public static void main(String[] args) {
        NotificationActionControllerApi apiInstance = new NotificationActionControllerApi();
        CreateNotificationActionRequest body = ; // CreateNotificationActionRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateWebhookBody(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling NotificationActionControllerApi#validateWebhookBody");
            e.printStackTrace();
        }
    }
}
CreateNotificationActionRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

[apiInstance validateWebhookBodyWith:body
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.NotificationActionControllerApi()
var body = ; // {{CreateNotificationActionRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.validateWebhookBody(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new NotificationActionControllerApi();
            var body = new CreateNotificationActionRequest(); // CreateNotificationActionRequest | 
            var authorization = authorization_example;  // String |  (optional) 

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

$api_instance = new Swagger\Client\ApiNotificationActionControllerApi();
$body = ; // CreateNotificationActionRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::NotificationActionControllerApi->new();
my $body = WWW::SwaggerClient::Object::CreateNotificationActionRequest->new(); # CreateNotificationActionRequest | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->validateWebhookBody(body => $body, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling NotificationActionControllerApi->validateWebhookBody: $@\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.NotificationActionControllerApi()
body =  # CreateNotificationActionRequest | 
authorization = authorization_example # String |  (optional)

try: 
    api_instance.validate_webhook_body(body, authorization=authorization)
except ApiException as e:
    print("Exception when calling NotificationActionControllerApi->validateWebhookBody: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected error during validation.

Status: 400 - The payload template is invalid, or the validation has failed.

Status: 200 - The payload template is valid.


ProjectEnvironmentOperations

activate

Activates an environment in the current project.


/api/v1/environments/{id}/activate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments/{id}/activate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.activate(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#activate");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.activate(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#activate");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Activates an environment in the current project.
[apiInstance activateWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.activate(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Activates an environment in the current project.
                apiInstance.activate(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.activate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->activate(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->activate: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Activates an environment in the current project.
    api_instance.activate(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->activate: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Environment was activated successfully.

Status: 500 - Unexpected server error.


activateV2

Activates an environment in the specified project.


/api/v2/projects/{projectId}/environments/{id}/activate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments/{id}/activate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.activateV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#activateV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.activateV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#activateV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Activates an environment in the specified project.
[apiInstance activateV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.activateV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Activates an environment in the specified project.
                apiInstance.activateV2(id, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.activateV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->activateV2(id => $id, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->activateV2: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Activates an environment in the specified project.
    api_instance.activate_v2(id, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->activateV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Environment was activated successfully.

Status: 500 - Unexpected server error.


createEnvironment

Create a new environment in the current project.


/api/v1/environments

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.createEnvironment(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#createEnvironment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.createEnvironment(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#createEnvironment");
            e.printStackTrace();
        }
    }
}
CreateEnvironmentRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Create a new environment in the current project.
[apiInstance createEnvironmentWith:body
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var body = ; // {{CreateEnvironmentRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createEnvironment(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var body = new CreateEnvironmentRequest(); // CreateEnvironmentRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Create a new environment in the current project.
                EnvironmentDto result = apiInstance.createEnvironment(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.createEnvironment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$body = ; // CreateEnvironmentRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateEnvironmentRequest->new(); # CreateEnvironmentRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createEnvironment(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->createEnvironment: $@\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.ProjectEnvironmentOperationsApi()
body =  # CreateEnvironmentRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Create a new environment in the current project.
    api_response = api_instance.create_environment(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->createEnvironment: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - The Environment was successfully created.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


createEnvironmentV2

Create a new environment in the specified project.


/api/v2/projects/{projectId}/environments

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.createEnvironmentV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#createEnvironmentV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.createEnvironmentV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#createEnvironmentV2");
            e.printStackTrace();
        }
    }
}
CreateEnvironmentRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Create a new environment in the specified project.
[apiInstance createEnvironmentV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var body = ; // {{CreateEnvironmentRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createEnvironmentV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var body = new CreateEnvironmentRequest(); // CreateEnvironmentRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Create a new environment in the specified project.
                EnvironmentDto result = apiInstance.createEnvironmentV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.createEnvironmentV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$body = ; // CreateEnvironmentRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateEnvironmentRequest->new(); # CreateEnvironmentRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createEnvironmentV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->createEnvironmentV2: $@\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.ProjectEnvironmentOperationsApi()
body =  # CreateEnvironmentRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Create a new environment in the specified project.
    api_response = api_instance.create_environment_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->createEnvironmentV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - The Environment was successfully created.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


deactivate

Deactivates the active environment in the current project.


/api/v1/environments/deactivate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments/deactivate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deactivate(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#deactivate");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Deactivates the active environment in the current project.
[apiInstance deactivateWith:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deactivate(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deactivates the active environment in the current project.
                apiInstance.deactivate(authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.deactivate: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deactivate(authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->deactivate: $@\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.ProjectEnvironmentOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Deactivates the active environment in the current project.
    api_instance.deactivate(authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->deactivate: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Environment was deactivated successfully.

Status: 500 - Unexpected server error.


deactivateV2

Deactivates the active environment in the specified project.


/api/v2/projects/{projectId}/environments/deactivate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments/deactivate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deactivateV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#deactivateV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deactivateV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#deactivateV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deactivates the active environment in the specified project.
[apiInstance deactivateV2With:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deactivateV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deactivates the active environment in the specified project.
                apiInstance.deactivateV2(projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.deactivateV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deactivateV2(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->deactivateV2: $@\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.ProjectEnvironmentOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deactivates the active environment in the specified project.
    api_instance.deactivate_v2(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->deactivateV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Environment was deactivated successfully.

Status: 500 - Unexpected server error.


deleteEnvironment

Delete an environment from the currently active project.


/api/v1/environments/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteEnvironment(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#deleteEnvironment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteEnvironment(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#deleteEnvironment");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Delete an environment from the currently active project.
[apiInstance deleteEnvironmentWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteEnvironment(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete an environment from the currently active project.
                apiInstance.deleteEnvironment(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.deleteEnvironment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteEnvironment(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->deleteEnvironment: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Delete an environment from the currently active project.
    api_instance.delete_environment(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->deleteEnvironment: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Environment deleted successfully.

Status: 500 - Unexpected server error.


deleteEnvironmentV2

Delete an environment from the specified project.


/api/v2/projects/{projectId}/environments/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteEnvironmentV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#deleteEnvironmentV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteEnvironmentV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#deleteEnvironmentV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Delete an environment from the specified project.
[apiInstance deleteEnvironmentV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteEnvironmentV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete an environment from the specified project.
                apiInstance.deleteEnvironmentV2(id, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.deleteEnvironmentV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteEnvironmentV2(id => $id, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->deleteEnvironmentV2: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Delete an environment from the specified project.
    api_instance.delete_environment_v2(id, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->deleteEnvironmentV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Environment deleted successfully.

Status: 500 - Unexpected server error.


exportEnvironmentFile

Export an environment to a JSON file.


/api/v1/environments/file/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments/file/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentFileDto result = apiInstance.exportEnvironmentFile(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#exportEnvironmentFile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentFileDto result = apiInstance.exportEnvironmentFile(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#exportEnvironmentFile");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Export an environment to a JSON file.
[apiInstance exportEnvironmentFileWith:id
    authorization:authorization
              completionHandler: ^(EnvironmentFileDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.exportEnvironmentFile(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Export an environment to a JSON file.
                EnvironmentFileDto result = apiInstance.exportEnvironmentFile(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.exportEnvironmentFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->exportEnvironmentFile(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->exportEnvironmentFile: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Export an environment to a JSON file.
    api_response = api_instance.export_environment_file(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->exportEnvironmentFile: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Environment exported successfully.

Status: 500 - Unexpected server error.


exportEnvironmentFileV2

Export an environment to a JSON file.


/api/v2/projects/{projectId}/environments/file/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments/file/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentFileDto result = apiInstance.exportEnvironmentFileV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#exportEnvironmentFileV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentFileDto result = apiInstance.exportEnvironmentFileV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#exportEnvironmentFileV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Export an environment to a JSON file.
[apiInstance exportEnvironmentFileV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(EnvironmentFileDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.exportEnvironmentFileV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Export an environment to a JSON file.
                EnvironmentFileDto result = apiInstance.exportEnvironmentFileV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.exportEnvironmentFileV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->exportEnvironmentFileV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->exportEnvironmentFileV2: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Export an environment to a JSON file.
    api_response = api_instance.export_environment_file_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->exportEnvironmentFileV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Environment exported successfully.

Status: 500 - Unexpected server error.


getAllEnvironmentsByCurrentProject

Get all environments of the current project


/api/v1/environments

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[EnvironmentDto] result = apiInstance.getAllEnvironmentsByCurrentProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getAllEnvironmentsByCurrentProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[EnvironmentDto] result = apiInstance.getAllEnvironmentsByCurrentProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getAllEnvironmentsByCurrentProject");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Get all environments of the current project
[apiInstance getAllEnvironmentsByCurrentProjectWith:authorization
              completionHandler: ^(array[EnvironmentDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllEnvironmentsByCurrentProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Get all environments of the current project
                array[EnvironmentDto] result = apiInstance.getAllEnvironmentsByCurrentProject(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.getAllEnvironmentsByCurrentProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllEnvironmentsByCurrentProject(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->getAllEnvironmentsByCurrentProject: $@\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.ProjectEnvironmentOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Get all environments of the current project
    api_response = api_instance.get_all_environments_by_current_project(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->getAllEnvironmentsByCurrentProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - The list of environments.

Status: 500 - Unexpected server error.


getAllEnvironmentsByProjectV2

Get all environments of the specified project


/api/v2/projects/{projectId}/environments

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[EnvironmentDto] result = apiInstance.getAllEnvironmentsByProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getAllEnvironmentsByProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[EnvironmentDto] result = apiInstance.getAllEnvironmentsByProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getAllEnvironmentsByProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Get all environments of the specified project
[apiInstance getAllEnvironmentsByProjectV2With:projectId
    authorization:authorization
              completionHandler: ^(array[EnvironmentDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllEnvironmentsByProjectV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Get all environments of the specified project
                array[EnvironmentDto] result = apiInstance.getAllEnvironmentsByProjectV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.getAllEnvironmentsByProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllEnvironmentsByProjectV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->getAllEnvironmentsByProjectV2: $@\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.ProjectEnvironmentOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Get all environments of the specified project
    api_response = api_instance.get_all_environments_by_project_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->getAllEnvironmentsByProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - The list of environments.

Status: 500 - Unexpected server error.


getEnvironmentById

Get an environment of the active project


/api/v1/environments/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.getEnvironmentById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getEnvironmentById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.getEnvironmentById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getEnvironmentById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Get an environment of the active project
[apiInstance getEnvironmentByIdWith:id
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getEnvironmentById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Get an environment of the active project
                EnvironmentDto result = apiInstance.getEnvironmentById(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.getEnvironmentById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getEnvironmentById(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->getEnvironmentById: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Get an environment of the active project
    api_response = api_instance.get_environment_by_id(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->getEnvironmentById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - The queried Environment.

Status: 500 - Unexpected server error.


getEnvironmentByIdV2

Get an environment in the specified project


/api/v2/projects/{projectId}/environments/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.getEnvironmentByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getEnvironmentByIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.getEnvironmentByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#getEnvironmentByIdV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Get an environment in the specified project
[apiInstance getEnvironmentByIdV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getEnvironmentByIdV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Get an environment in the specified project
                EnvironmentDto result = apiInstance.getEnvironmentByIdV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.getEnvironmentByIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getEnvironmentByIdV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->getEnvironmentByIdV2: $@\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.ProjectEnvironmentOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Get an environment in the specified project
    api_response = api_instance.get_environment_by_id_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->getEnvironmentByIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - The queried Environment.

Status: 500 - Unexpected server error.


importEnvironmentFile

Import an environment from a JSON file.


/api/v1/environments/file

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments/file"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.importEnvironmentFile(file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#importEnvironmentFile");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.importEnvironmentFile(file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#importEnvironmentFile");
            e.printStackTrace();
        }
    }
}
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Import an environment from a JSON file.
[apiInstance importEnvironmentFileWith:file
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var opts = { 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.importEnvironmentFile(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Import an environment from a JSON file.
                EnvironmentDto result = apiInstance.importEnvironmentFile(file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.importEnvironmentFile: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->importEnvironmentFile(file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->importEnvironmentFile: $@\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.ProjectEnvironmentOperationsApi()
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Import an environment from a JSON file.
    api_response = api_instance.import_environment_file(file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->importEnvironmentFile: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
file
byte[] (binary)

Responses

Status: 200 - Environment imported successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


importEnvironmentFileV2

Import an environment from a JSON file.


/api/v2/projects/{projectId}/environments/file

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments/file"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String projectId = projectId_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.importEnvironmentFileV2(projectId, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#importEnvironmentFileV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        String projectId = projectId_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.importEnvironmentFileV2(projectId, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#importEnvironmentFileV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Import an environment from a JSON file.
[apiInstance importEnvironmentFileV2With:projectId
    file:file
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.importEnvironmentFileV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var projectId = projectId_example;  // String | 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Import an environment from a JSON file.
                EnvironmentDto result = apiInstance.importEnvironmentFileV2(projectId, file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.importEnvironmentFileV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$projectId = projectId_example; // String | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $projectId = projectId_example; # String | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->importEnvironmentFileV2(projectId => $projectId, file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->importEnvironmentFileV2: $@\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.ProjectEnvironmentOperationsApi()
projectId = projectId_example # String | 
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Import an environment from a JSON file.
    api_response = api_instance.import_environment_file_v2(projectId, file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->importEnvironmentFileV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Form parameters
Name Description
file
byte[] (binary)

Responses

Status: 200 - Environment imported successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


updateEnvironment

Update an environment in the currently active project.


/api/v1/environments/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/environments/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.updateEnvironment(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#updateEnvironment");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.updateEnvironment(body, id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#updateEnvironment");
            e.printStackTrace();
        }
    }
}
CreateEnvironmentRequest *body = ; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

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

// Update an environment in the currently active project.
[apiInstance updateEnvironmentWith:body
    id:id
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var body = ; // {{CreateEnvironmentRequest}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateEnvironment(bodyid, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var body = new CreateEnvironmentRequest(); // CreateEnvironmentRequest | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Update an environment in the currently active project.
                EnvironmentDto result = apiInstance.updateEnvironment(body, id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.updateEnvironment: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$body = ; // CreateEnvironmentRequest | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateEnvironmentRequest->new(); # CreateEnvironmentRequest | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateEnvironment(body => $body, id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->updateEnvironment: $@\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.ProjectEnvironmentOperationsApi()
body =  # CreateEnvironmentRequest | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Update an environment in the currently active project.
    api_response = api_instance.update_environment(body, id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->updateEnvironment: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Environment updated successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


updateEnvironmentV2

Update an environment in the specified project.


/api/v2/projects/{projectId}/environments/{id}

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/environments/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

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

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.updateEnvironmentV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#updateEnvironmentV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectEnvironmentOperationsApi;

public class ProjectEnvironmentOperationsApiExample {

    public static void main(String[] args) {
        ProjectEnvironmentOperationsApi apiInstance = new ProjectEnvironmentOperationsApi();
        CreateEnvironmentRequest body = ; // CreateEnvironmentRequest | 
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            EnvironmentDto result = apiInstance.updateEnvironmentV2(body, id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectEnvironmentOperationsApi#updateEnvironmentV2");
            e.printStackTrace();
        }
    }
}
CreateEnvironmentRequest *body = ; // 
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Update an environment in the specified project.
[apiInstance updateEnvironmentV2With:body
    id:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(EnvironmentDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectEnvironmentOperationsApi()
var body = ; // {{CreateEnvironmentRequest}} 
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateEnvironmentV2(bodyidprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectEnvironmentOperationsApi();
            var body = new CreateEnvironmentRequest(); // CreateEnvironmentRequest | 
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Update an environment in the specified project.
                EnvironmentDto result = apiInstance.updateEnvironmentV2(body, id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectEnvironmentOperationsApi.updateEnvironmentV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectEnvironmentOperationsApi();
$body = ; // CreateEnvironmentRequest | 
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateEnvironmentV2($body, $id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectEnvironmentOperationsApi->updateEnvironmentV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectEnvironmentOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectEnvironmentOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateEnvironmentRequest->new(); # CreateEnvironmentRequest | 
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateEnvironmentV2(body => $body, id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectEnvironmentOperationsApi->updateEnvironmentV2: $@\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.ProjectEnvironmentOperationsApi()
body =  # CreateEnvironmentRequest | 
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Update an environment in the specified project.
    api_response = api_instance.update_environment_v2(body, id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectEnvironmentOperationsApi->updateEnvironmentV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Environment updated successfully.

Status: 500 - Unexpected server error.

Status: 400 - Invalid request format or content.


ProjectInvitationOperations

acceptProjectInvitation

Accepts Project Invitation for the provided project id.


/api/v1/project-invitations/accept/{projectId}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/project-invitations/accept/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.acceptProjectInvitation(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#acceptProjectInvitation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.acceptProjectInvitation(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#acceptProjectInvitation");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Accepts Project Invitation for the provided project id.
[apiInstance acceptProjectInvitationWith:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.acceptProjectInvitation(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Accepts Project Invitation for the provided project id.
                apiInstance.acceptProjectInvitation(projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.acceptProjectInvitation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->acceptProjectInvitation(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->acceptProjectInvitation: $@\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.ProjectInvitationOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Accepts Project Invitation for the provided project id.
    api_instance.accept_project_invitation(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->acceptProjectInvitation: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Project Invitation successfully accepted.

Status: 500 - Unexpected server error.


acceptProjectInvitationV2

Accepts Project Invitation for the provided project id.


/api/v2/project-invitations/accept/{projectId}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/project-invitations/accept/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.acceptProjectInvitationV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#acceptProjectInvitationV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.acceptProjectInvitationV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#acceptProjectInvitationV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Accepts Project Invitation for the provided project id.
[apiInstance acceptProjectInvitationV2With:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.acceptProjectInvitationV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Accepts Project Invitation for the provided project id.
                apiInstance.acceptProjectInvitationV2(projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.acceptProjectInvitationV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->acceptProjectInvitationV2(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->acceptProjectInvitationV2: $@\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.ProjectInvitationOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Accepts Project Invitation for the provided project id.
    api_instance.accept_project_invitation_v2(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->acceptProjectInvitationV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Project Invitation successfully accepted.

Status: 500 - Unexpected server error.


createProjectInvitation

Creates a new Project Invitation.


/api/v1/project-invitations

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/project-invitations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        ProjectInvitationDto body = ; // ProjectInvitationDto | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationDto result = apiInstance.createProjectInvitation(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#createProjectInvitation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        ProjectInvitationDto body = ; // ProjectInvitationDto | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationDto result = apiInstance.createProjectInvitation(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#createProjectInvitation");
            e.printStackTrace();
        }
    }
}
ProjectInvitationDto *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new Project Invitation.
[apiInstance createProjectInvitationWith:body
    authorization:authorization
              completionHandler: ^(ProjectInvitationDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var body = ; // {{ProjectInvitationDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createProjectInvitation(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var body = new ProjectInvitationDto(); // ProjectInvitationDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new Project Invitation.
                ProjectInvitationDto result = apiInstance.createProjectInvitation(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.createProjectInvitation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$body = ; // ProjectInvitationDto | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ProjectInvitationDto->new(); # ProjectInvitationDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createProjectInvitation(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->createProjectInvitation: $@\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.ProjectInvitationOperationsApi()
body =  # ProjectInvitationDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new Project Invitation.
    api_response = api_instance.create_project_invitation(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->createProjectInvitation: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - Project Invitation successfully created.

Status: 500 - Unexpected server error.


createProjectInvitationV2

Creates a new Project Invitation.


/api/v2/project-invitations

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/project-invitations"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        ProjectInvitationDtoV2 body = ; // ProjectInvitationDtoV2 | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationDto result = apiInstance.createProjectInvitationV2(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#createProjectInvitationV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        ProjectInvitationDtoV2 body = ; // ProjectInvitationDtoV2 | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationDto result = apiInstance.createProjectInvitationV2(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#createProjectInvitationV2");
            e.printStackTrace();
        }
    }
}
ProjectInvitationDtoV2 *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new Project Invitation.
[apiInstance createProjectInvitationV2With:body
    authorization:authorization
              completionHandler: ^(ProjectInvitationDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var body = ; // {{ProjectInvitationDtoV2}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createProjectInvitationV2(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var body = new ProjectInvitationDtoV2(); // ProjectInvitationDtoV2 | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new Project Invitation.
                ProjectInvitationDto result = apiInstance.createProjectInvitationV2(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.createProjectInvitationV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$body = ; // ProjectInvitationDtoV2 | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ProjectInvitationDtoV2->new(); # ProjectInvitationDtoV2 | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createProjectInvitationV2(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->createProjectInvitationV2: $@\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.ProjectInvitationOperationsApi()
body =  # ProjectInvitationDtoV2 | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new Project Invitation.
    api_response = api_instance.create_project_invitation_v2(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->createProjectInvitationV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - Project Invitation successfully created.

Status: 500 - Unexpected server error.


deleteProjectInvitation

Deletes a Project Invitation by user id and project id.


/api/v1/project-invitations

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/project-invitations?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectInvitation(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#deleteProjectInvitation");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectInvitation(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#deleteProjectInvitation");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Project Invitation by user id and project id.
[apiInstance deleteProjectInvitationWith:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var userId = userId_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteProjectInvitation(userId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var userId = userId_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Project Invitation by user id and project id.
                apiInstance.deleteProjectInvitation(userId, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.deleteProjectInvitation: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteProjectInvitation(userId => $userId, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->deleteProjectInvitation: $@\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.ProjectInvitationOperationsApi()
userId = userId_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Project Invitation by user id and project id.
    api_instance.delete_project_invitation(userId, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->deleteProjectInvitation: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id*
String
Required
project_id*
String
Required

Responses

Status: 200 - Project Invitation successfully deleted.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteProjectInvitationV2

Deletes a Project Invitation by user id and project id.


/api/v2/project-invitations

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/project-invitations?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectInvitationV2(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#deleteProjectInvitationV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectInvitationV2(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#deleteProjectInvitationV2");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Project Invitation by user id and project id.
[apiInstance deleteProjectInvitationV2With:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var userId = userId_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteProjectInvitationV2(userId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var userId = userId_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Project Invitation by user id and project id.
                apiInstance.deleteProjectInvitationV2(userId, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.deleteProjectInvitationV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteProjectInvitationV2(userId => $userId, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->deleteProjectInvitationV2: $@\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.ProjectInvitationOperationsApi()
userId = userId_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Project Invitation by user id and project id.
    api_instance.delete_project_invitation_v2(userId, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->deleteProjectInvitationV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id*
String
Required
project_id*
String
Required

Responses

Status: 200 - Project Invitation successfully deleted.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getProjectInvitations

Retrieves Project Invitations by user id and / or project id.


/api/v1/project-invitations

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/project-invitations?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationsResponse result = apiInstance.getProjectInvitations(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#getProjectInvitations");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationsResponse result = apiInstance.getProjectInvitations(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#getProjectInvitations");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; //  (optional)
String *projectId = projectId_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Retrieves Project Invitations by user id and / or project id.
[apiInstance getProjectInvitationsWith:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ProjectInvitationsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var opts = { 
  'userId': userId_example, // {{String}} 
  'projectId': projectId_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getProjectInvitations(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var userId = userId_example;  // String |  (optional) 
            var projectId = projectId_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves Project Invitations by user id and / or project id.
                ProjectInvitationsResponse result = apiInstance.getProjectInvitations(userId, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.getProjectInvitations: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getProjectInvitations(userId => $userId, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->getProjectInvitations: $@\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.ProjectInvitationOperationsApi()
userId = userId_example # String |  (optional)
projectId = projectId_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves Project Invitations by user id and / or project id.
    api_response = api_instance.get_project_invitations(userId=userId, projectId=projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->getProjectInvitations: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id
String
project_id
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Project Invitations matching criteria.

Status: 500 - Unexpected server error.


getProjectInvitationsV2

Retrieves Project Invitations by user id and / or project id.


/api/v2/project-invitations

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/project-invitations?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectInvitationOperationsApi;

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

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationsResponse result = apiInstance.getProjectInvitationsV2(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#getProjectInvitationsV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectInvitationOperationsApi;

public class ProjectInvitationOperationsApiExample {

    public static void main(String[] args) {
        ProjectInvitationOperationsApi apiInstance = new ProjectInvitationOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectInvitationsResponse result = apiInstance.getProjectInvitationsV2(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectInvitationOperationsApi#getProjectInvitationsV2");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; //  (optional)
String *projectId = projectId_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Retrieves Project Invitations by user id and / or project id.
[apiInstance getProjectInvitationsV2With:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ProjectInvitationsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectInvitationOperationsApi()
var opts = { 
  'userId': userId_example, // {{String}} 
  'projectId': projectId_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getProjectInvitationsV2(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectInvitationOperationsApi();
            var userId = userId_example;  // String |  (optional) 
            var projectId = projectId_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves Project Invitations by user id and / or project id.
                ProjectInvitationsResponse result = apiInstance.getProjectInvitationsV2(userId, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectInvitationOperationsApi.getProjectInvitationsV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectInvitationOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectInvitationOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getProjectInvitationsV2(userId => $userId, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectInvitationOperationsApi->getProjectInvitationsV2: $@\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.ProjectInvitationOperationsApi()
userId = userId_example # String |  (optional)
projectId = projectId_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves Project Invitations by user id and / or project id.
    api_response = api_instance.get_project_invitations_v2(userId=userId, projectId=projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectInvitationOperationsApi->getProjectInvitationsV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id
String
project_id
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Project Invitations matching criteria.

Status: 500 - Unexpected server error.


ProjectOperations

createProject

Creates a new project.


/api/v1/projects

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/projects"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        ProjectDto body = ; // ProjectDto | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.createProject(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#createProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        ProjectDto body = ; // ProjectDto | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.createProject(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#createProject");
            e.printStackTrace();
        }
    }
}
ProjectDto *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new project.
[apiInstance createProjectWith:body
    authorization:authorization
              completionHandler: ^(ProjectDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var body = ; // {{ProjectDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createProject(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var body = new ProjectDto(); // ProjectDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new project.
                ProjectDto result = apiInstance.createProject(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.createProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$body = ; // ProjectDto | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ProjectDto->new(); # ProjectDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createProject(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->createProject: $@\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.ProjectOperationsApi()
body =  # ProjectDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new project.
    api_response = api_instance.create_project(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->createProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.

Status: 200 - Project successfully created.


createProjectV2

Creates a new project.


/api/v2/projects

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        CreateProjectRequest body = ; // CreateProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.createProjectV2(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#createProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        CreateProjectRequest body = ; // CreateProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.createProjectV2(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#createProjectV2");
            e.printStackTrace();
        }
    }
}
CreateProjectRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Creates a new project.
[apiInstance createProjectV2With:body
    authorization:authorization
              completionHandler: ^(ProjectDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var body = ; // {{CreateProjectRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createProjectV2(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var body = new CreateProjectRequest(); // CreateProjectRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a new project.
                ProjectDto result = apiInstance.createProjectV2(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.createProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$body = ; // CreateProjectRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $body = WWW::SwaggerClient::Object::CreateProjectRequest->new(); # CreateProjectRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createProjectV2(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->createProjectV2: $@\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.ProjectOperationsApi()
body =  # CreateProjectRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a new project.
    api_response = api_instance.create_project_v2(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->createProjectV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.

Status: 200 - Project successfully created.


deleteProject

Deletes a project by its id.


/api/v1/projects/{projectId}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/projects/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProject(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#deleteProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProject(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#deleteProject");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a project by its id.
[apiInstance deleteProjectWith:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteProject(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a project by its id.
                apiInstance.deleteProject(projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.deleteProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteProject(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->deleteProject: $@\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.ProjectOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a project by its id.
    api_instance.delete_project(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->deleteProject: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.

Status: 200 - Project successfully deleted.


deleteProjectV2

Deletes a project by its id.


/api/v2/projects/{projectId}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#deleteProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#deleteProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a project by its id.
[apiInstance deleteProjectV2With:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteProjectV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a project by its id.
                apiInstance.deleteProjectV2(projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.deleteProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteProjectV2(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->deleteProjectV2: $@\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.ProjectOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a project by its id.
    api_instance.delete_project_v2(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->deleteProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.

Status: 200 - Project successfully deleted.


findProjectById

Retrieves a project by its id.


/api/v1/projects/{projectId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/projects/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.findProjectById(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#findProjectById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.findProjectById(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#findProjectById");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a project by its id.
[apiInstance findProjectByIdWith:projectId
    authorization:authorization
              completionHandler: ^(ProjectDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findProjectById(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a project by its id.
                ProjectDto result = apiInstance.findProjectById(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.findProjectById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->findProjectById(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->findProjectById: $@\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.ProjectOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a project by its id.
    api_response = api_instance.find_project_by_id(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->findProjectById: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Project matching criteria.

Status: 500 - Unexpected server error.


findProjectByIdV2

Retrieves a project by its id.


/api/v2/projects/{projectId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.findProjectByIdV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#findProjectByIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectDto result = apiInstance.findProjectByIdV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#findProjectByIdV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Retrieves a project by its id.
[apiInstance findProjectByIdV2With:projectId
    authorization:authorization
              completionHandler: ^(ProjectDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.findProjectByIdV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a project by its id.
                ProjectDto result = apiInstance.findProjectByIdV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.findProjectByIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->findProjectByIdV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->findProjectByIdV2: $@\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.ProjectOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a project by its id.
    api_response = api_instance.find_project_by_id_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->findProjectByIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - Project matching criteria.

Status: 500 - Unexpected server error.


getAllProjectsWithAccessV2

Retrieves all projects the user has access to.


/api/v2/projects

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ProjectDto] result = apiInstance.getAllProjectsWithAccessV2(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#getAllProjectsWithAccessV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[ProjectDto] result = apiInstance.getAllProjectsWithAccessV2(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#getAllProjectsWithAccessV2");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

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

// Retrieves all projects the user has access to.
[apiInstance getAllProjectsWithAccessV2With:authorization
              completionHandler: ^(array[ProjectDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllProjectsWithAccessV2(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all projects the user has access to.
                array[ProjectDto] result = apiInstance.getAllProjectsWithAccessV2(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.getAllProjectsWithAccessV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllProjectsWithAccessV2(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->getAllProjectsWithAccessV2: $@\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.ProjectOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all projects the user has access to.
    api_response = api_instance.get_all_projects_with_access_v2(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->getAllProjectsWithAccessV2: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Projects successfully retrieved.

Status: 500 - Unexpected server error.


importProjectV21

Import a new project to SSB from a specified sync source.


/api/v2/projects/import

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/import"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectOperationsApi;

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

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        ImportNewProjectRequest body = ; // ImportNewProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importProjectV21(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#importProjectV21");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectOperationsApi;

public class ProjectOperationsApiExample {

    public static void main(String[] args) {
        ProjectOperationsApi apiInstance = new ProjectOperationsApi();
        ImportNewProjectRequest body = ; // ImportNewProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importProjectV21(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectOperationsApi#importProjectV21");
            e.printStackTrace();
        }
    }
}
ImportNewProjectRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

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

// Import a new project to SSB from a specified sync source.
[apiInstance importProjectV21With:body
    authorization:authorization
              completionHandler: ^(SyncResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectOperationsApi()
var body = ; // {{ImportNewProjectRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.importProjectV21(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectOperationsApi();
            var body = new ImportNewProjectRequest(); // ImportNewProjectRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Import a new project to SSB from a specified sync source.
                SyncResponse result = apiInstance.importProjectV21(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectOperationsApi.importProjectV21: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectOperationsApi();
$body = ; // ImportNewProjectRequest | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ImportNewProjectRequest->new(); # ImportNewProjectRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->importProjectV21(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectOperationsApi->importProjectV21: $@\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.ProjectOperationsApi()
body =  # ImportNewProjectRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Import a new project to SSB from a specified sync source.
    api_response = api_instance.import_project_v21(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectOperationsApi->importProjectV21: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid git remote repository parameters.

Status: 500 - Unexpected server error.

Status: 200 - Import was successful.


ProjectPermissionOperations

deleteProjectPermission

Deletes a Project Permission by user id and project id.


/api/v2/project-permissions

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/project-permissions?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectPermissionOperationsApi;

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

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectPermission(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#deleteProjectPermission");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectPermissionOperationsApi;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectPermission(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#deleteProjectPermission");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Project Permission by user id and project id.
[apiInstance deleteProjectPermissionWith:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectPermissionOperationsApi()
var userId = userId_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteProjectPermission(userId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectPermissionOperationsApi();
            var userId = userId_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Project Permission by user id and project id.
                apiInstance.deleteProjectPermission(userId, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectPermissionOperationsApi.deleteProjectPermission: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectPermissionOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectPermissionOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteProjectPermission(userId => $userId, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectPermissionOperationsApi->deleteProjectPermission: $@\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.ProjectPermissionOperationsApi()
userId = userId_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Project Permission by user id and project id.
    api_instance.delete_project_permission(userId, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectPermissionOperationsApi->deleteProjectPermission: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id*
String
Required
project_id*
String
Required

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteProjectPermission1

Deletes a Project Permission by user id and project id.


/api/v1/project-permissions

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/project-permissions?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectPermissionOperationsApi;

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

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectPermission1(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#deleteProjectPermission1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectPermissionOperationsApi;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteProjectPermission1(userId, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#deleteProjectPermission1");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

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

// Deletes a Project Permission by user id and project id.
[apiInstance deleteProjectPermission1With:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectPermissionOperationsApi()
var userId = userId_example; // {{String}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteProjectPermission1(userId, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectPermissionOperationsApi();
            var userId = userId_example;  // String | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a Project Permission by user id and project id.
                apiInstance.deleteProjectPermission1(userId, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectPermissionOperationsApi.deleteProjectPermission1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectPermissionOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectPermissionOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteProjectPermission1(userId => $userId, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectPermissionOperationsApi->deleteProjectPermission1: $@\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.ProjectPermissionOperationsApi()
userId = userId_example # String | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a Project Permission by user id and project id.
    api_instance.delete_project_permission1(userId, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectPermissionOperationsApi->deleteProjectPermission1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id*
String
Required
project_id*
String
Required

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getProjectPermissions

Retrieves project Permissions by user id and project id.


/api/v2/project-permissions

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/project-permissions?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectPermissionOperationsApi;

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

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionsResponse result = apiInstance.getProjectPermissions(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#getProjectPermissions");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectPermissionOperationsApi;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionsResponse result = apiInstance.getProjectPermissions(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#getProjectPermissions");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; //  (optional)
String *projectId = projectId_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Retrieves project Permissions by user id and project id.
[apiInstance getProjectPermissionsWith:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ProjectPermissionsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectPermissionOperationsApi()
var opts = { 
  'userId': userId_example, // {{String}} 
  'projectId': projectId_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getProjectPermissions(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectPermissionOperationsApi();
            var userId = userId_example;  // String |  (optional) 
            var projectId = projectId_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves project Permissions by user id and project id.
                ProjectPermissionsResponse result = apiInstance.getProjectPermissions(userId, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectPermissionOperationsApi.getProjectPermissions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectPermissionOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

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

my $api_instance = WWW::SwaggerClient::ProjectPermissionOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getProjectPermissions(userId => $userId, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectPermissionOperationsApi->getProjectPermissions: $@\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.ProjectPermissionOperationsApi()
userId = userId_example # String |  (optional)
projectId = projectId_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves project Permissions by user id and project id.
    api_response = api_instance.get_project_permissions(userId=userId, projectId=projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectPermissionOperationsApi->getProjectPermissions: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id
String
project_id
String

Responses

Status: 400 - Invalid request format.

Status: 200 - project permissions matching criteria.

Status: 500 - Unexpected server error.


getProjectPermissions1

Retrieves project Permissions by user id and project id.


/api/v1/project-permissions

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/project-permissions?user_id=&project_id="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectPermissionOperationsApi;

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

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionsResponse result = apiInstance.getProjectPermissions1(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#getProjectPermissions1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectPermissionOperationsApi;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        String userId = userId_example; // String | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionsResponse result = apiInstance.getProjectPermissions1(userId, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#getProjectPermissions1");
            e.printStackTrace();
        }
    }
}
String *userId = userId_example; //  (optional)
String *projectId = projectId_example; //  (optional)
String *authorization = authorization_example; //  (optional)

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

// Retrieves project Permissions by user id and project id.
[apiInstance getProjectPermissions1With:userId
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ProjectPermissionsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectPermissionOperationsApi()
var opts = { 
  'userId': userId_example, // {{String}} 
  'projectId': projectId_example, // {{String}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getProjectPermissions1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

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

            var apiInstance = new ProjectPermissionOperationsApi();
            var userId = userId_example;  // String |  (optional) 
            var projectId = projectId_example;  // String |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves project Permissions by user id and project id.
                ProjectPermissionsResponse result = apiInstance.getProjectPermissions1(userId, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectPermissionOperationsApi.getProjectPermissions1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectPermissionOperationsApi();
$userId = userId_example; // String | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getProjectPermissions1($userId, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectPermissionOperationsApi->getProjectPermissions1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectPermissionOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectPermissionOperationsApi->new();
my $userId = userId_example; # String | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getProjectPermissions1(userId => $userId, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectPermissionOperationsApi->getProjectPermissions1: $@\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.ProjectPermissionOperationsApi()
userId = userId_example # String |  (optional)
projectId = projectId_example # String |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves project Permissions by user id and project id.
    api_response = api_instance.get_project_permissions1(userId=userId, projectId=projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectPermissionOperationsApi->getProjectPermissions1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Query parameters
Name Description
user_id
String
project_id
String

Responses

Status: 400 - Invalid request format.

Status: 200 - project permissions matching criteria.

Status: 500 - Unexpected server error.


updateProjectPermission

Updates a Project Permission.


/api/v2/project-permissions

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/project-permissions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectPermissionOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        ProjectPermissionUpdateRequest body = ; // ProjectPermissionUpdateRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionDto result = apiInstance.updateProjectPermission(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#updateProjectPermission");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectPermissionOperationsApi;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        ProjectPermissionUpdateRequest body = ; // ProjectPermissionUpdateRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionDto result = apiInstance.updateProjectPermission(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#updateProjectPermission");
            e.printStackTrace();
        }
    }
}
ProjectPermissionUpdateRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

ProjectPermissionOperationsApi *apiInstance = [[ProjectPermissionOperationsApi alloc] init];

// Updates a Project Permission.
[apiInstance updateProjectPermissionWith:body
    authorization:authorization
              completionHandler: ^(ProjectPermissionDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectPermissionOperationsApi()
var body = ; // {{ProjectPermissionUpdateRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateProjectPermission(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateProjectPermissionExample
    {
        public void main()
        {

            var apiInstance = new ProjectPermissionOperationsApi();
            var body = new ProjectPermissionUpdateRequest(); // ProjectPermissionUpdateRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates a Project Permission.
                ProjectPermissionDto result = apiInstance.updateProjectPermission(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectPermissionOperationsApi.updateProjectPermission: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectPermissionOperationsApi();
$body = ; // ProjectPermissionUpdateRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateProjectPermission($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectPermissionOperationsApi->updateProjectPermission: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectPermissionOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectPermissionOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ProjectPermissionUpdateRequest->new(); # ProjectPermissionUpdateRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateProjectPermission(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectPermissionOperationsApi->updateProjectPermission: $@\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.ProjectPermissionOperationsApi()
body =  # ProjectPermissionUpdateRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates a Project Permission.
    api_response = api_instance.update_project_permission(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectPermissionOperationsApi->updateProjectPermission: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - The Project Permission was successfully updated.

Status: 500 - Unexpected server error.


updateProjectPermission1

Updates a Project Permission.


/api/v1/project-permissions

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/project-permissions"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectPermissionOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        ProjectPermissionUpdateRequest body = ; // ProjectPermissionUpdateRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionDto result = apiInstance.updateProjectPermission1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#updateProjectPermission1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectPermissionOperationsApi;

public class ProjectPermissionOperationsApiExample {

    public static void main(String[] args) {
        ProjectPermissionOperationsApi apiInstance = new ProjectPermissionOperationsApi();
        ProjectPermissionUpdateRequest body = ; // ProjectPermissionUpdateRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectPermissionDto result = apiInstance.updateProjectPermission1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectPermissionOperationsApi#updateProjectPermission1");
            e.printStackTrace();
        }
    }
}
ProjectPermissionUpdateRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

ProjectPermissionOperationsApi *apiInstance = [[ProjectPermissionOperationsApi alloc] init];

// Updates a Project Permission.
[apiInstance updateProjectPermission1With:body
    authorization:authorization
              completionHandler: ^(ProjectPermissionDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectPermissionOperationsApi()
var body = ; // {{ProjectPermissionUpdateRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateProjectPermission1(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateProjectPermission1Example
    {
        public void main()
        {

            var apiInstance = new ProjectPermissionOperationsApi();
            var body = new ProjectPermissionUpdateRequest(); // ProjectPermissionUpdateRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates a Project Permission.
                ProjectPermissionDto result = apiInstance.updateProjectPermission1(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectPermissionOperationsApi.updateProjectPermission1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectPermissionOperationsApi();
$body = ; // ProjectPermissionUpdateRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateProjectPermission1($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectPermissionOperationsApi->updateProjectPermission1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectPermissionOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectPermissionOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ProjectPermissionUpdateRequest->new(); # ProjectPermissionUpdateRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateProjectPermission1(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectPermissionOperationsApi->updateProjectPermission1: $@\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.ProjectPermissionOperationsApi()
body =  # ProjectPermissionUpdateRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates a Project Permission.
    api_response = api_instance.update_project_permission1(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectPermissionOperationsApi->updateProjectPermission1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - The Project Permission was successfully updated.

Status: 500 - Unexpected server error.


ProjectSyncOperations

deleteSyncSource

Delete the current project's sync source configuration.


/api/v1/sync/config

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSyncSource(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#deleteSyncSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSyncSource(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#deleteSyncSource");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Delete the current project's sync source configuration.
[apiInstance deleteSyncSourceWith:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteSyncSource(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteSyncSourceExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete the current project's sync source configuration.
                apiInstance.deleteSyncSource(authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.deleteSyncSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteSyncSource($authorization);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->deleteSyncSource: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteSyncSource(authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->deleteSyncSource: $@\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.ProjectSyncOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Delete the current project's sync source configuration.
    api_instance.delete_sync_source(authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->deleteSyncSource: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


exportCurrentProject

Commit the active project's changes and push it to a the configured sync source.


/api/v1/sync/git/export

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/git/export"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        ExportCurrentProjectRequest body = ; // ExportCurrentProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectExportResponse result = apiInstance.exportCurrentProject(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#exportCurrentProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        ExportCurrentProjectRequest body = ; // ExportCurrentProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            ProjectExportResponse result = apiInstance.exportCurrentProject(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#exportCurrentProject");
            e.printStackTrace();
        }
    }
}
ExportCurrentProjectRequest *body = ; //  (optional)
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Commit the active project's changes and push it to a the configured sync source.
[apiInstance exportCurrentProjectWith:body
    authorization:authorization
              completionHandler: ^(ProjectExportResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var opts = { 
  'body':  // {{ExportCurrentProjectRequest}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.exportCurrentProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exportCurrentProjectExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var body = new ExportCurrentProjectRequest(); // ExportCurrentProjectRequest |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Commit the active project's changes and push it to a the configured sync source.
                ProjectExportResponse result = apiInstance.exportCurrentProject(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.exportCurrentProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$body = ; // ExportCurrentProjectRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->exportCurrentProject($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->exportCurrentProject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ExportCurrentProjectRequest->new(); # ExportCurrentProjectRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->exportCurrentProject(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->exportCurrentProject: $@\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.ProjectSyncOperationsApi()
body =  # ExportCurrentProjectRequest |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Commit the active project's changes and push it to a the configured sync source.
    api_response = api_instance.export_current_project(body=body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->exportCurrentProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body

Responses

Status: 200 - OK


exportProject

Commit a project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one.


/api/v1/sync/git/export/{project}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/git/export/{project}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        ExportProjectRequest body = ; // ExportProjectRequest | 
        String project = project_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectExportResponse result = apiInstance.exportProject(body, project, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#exportProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        ExportProjectRequest body = ; // ExportProjectRequest | 
        String project = project_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectExportResponse result = apiInstance.exportProject(body, project, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#exportProject");
            e.printStackTrace();
        }
    }
}
ExportProjectRequest *body = ; // 
String *project = project_example; // 
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Commit a project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one.
[apiInstance exportProjectWith:body
    project:project
    authorization:authorization
              completionHandler: ^(ProjectExportResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var body = ; // {{ExportProjectRequest}} 
var project = project_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.exportProject(bodyproject, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exportProjectExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var body = new ExportProjectRequest(); // ExportProjectRequest | 
            var project = project_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Commit a project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one.
                ProjectExportResponse result = apiInstance.exportProject(body, project, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.exportProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$body = ; // ExportProjectRequest | 
$project = project_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->exportProject($body, $project, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->exportProject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ExportProjectRequest->new(); # ExportProjectRequest | 
my $project = project_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->exportProject(body => $body, project => $project, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->exportProject: $@\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.ProjectSyncOperationsApi()
body =  # ExportProjectRequest | 
project = project_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Commit a project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one.
    api_response = api_instance.export_project(body, project, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->exportProject: %s\n" % e)

Parameters

Path parameters
Name Description
project*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


getSyncSource

Get the current project's sync source configuration.


/api/v1/sync/config

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.getSyncSource(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#getSyncSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.getSyncSource(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#getSyncSource");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Get the current project's sync source configuration.
[apiInstance getSyncSourceWith:authorization
              completionHandler: ^(SyncSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSyncSource(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSyncSourceExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Get the current project's sync source configuration.
                SyncSourceDto result = apiInstance.getSyncSource(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.getSyncSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getSyncSource($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->getSyncSource: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getSyncSource(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->getSyncSource: $@\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.ProjectSyncOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Get the current project's sync source configuration.
    api_response = api_instance.get_sync_source(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->getSyncSource: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


importCurrentProject

Update the currently active project from its configured sync source.


/api/v1/sync/git/import

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/git/import"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importCurrentProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#importCurrentProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importCurrentProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#importCurrentProject");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Update the currently active project from its configured sync source.
[apiInstance importCurrentProjectWith:authorization
              completionHandler: ^(SyncResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.importCurrentProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class importCurrentProjectExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Update the currently active project from its configured sync source.
                SyncResponse result = apiInstance.importCurrentProject(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.importCurrentProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->importCurrentProject($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->importCurrentProject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->importCurrentProject(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->importCurrentProject: $@\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.ProjectSyncOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Update the currently active project from its configured sync source.
    api_response = api_instance.import_current_project(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->importCurrentProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid git remote repository parameters.

Status: 500 - Unexpected server error.

Status: 200 - Import was successful.


importProject

Import a project to SSB from a specified sync source.


/api/v1/sync/git/import/{project}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/git/import/{project}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        ImportProjectRequest body = ; // ImportProjectRequest | 
        String project = project_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importProject(body, project, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#importProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        ImportProjectRequest body = ; // ImportProjectRequest | 
        String project = project_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importProject(body, project, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#importProject");
            e.printStackTrace();
        }
    }
}
ImportProjectRequest *body = ; // 
String *project = project_example; // 
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Import a project to SSB from a specified sync source.
[apiInstance importProjectWith:body
    project:project
    authorization:authorization
              completionHandler: ^(SyncResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var body = ; // {{ImportProjectRequest}} 
var project = project_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.importProject(bodyproject, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class importProjectExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var body = new ImportProjectRequest(); // ImportProjectRequest | 
            var project = project_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Import a project to SSB from a specified sync source.
                SyncResponse result = apiInstance.importProject(body, project, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.importProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$body = ; // ImportProjectRequest | 
$project = project_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->importProject($body, $project, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->importProject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ImportProjectRequest->new(); # ImportProjectRequest | 
my $project = project_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->importProject(body => $body, project => $project, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->importProject: $@\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.ProjectSyncOperationsApi()
body =  # ImportProjectRequest | 
project = project_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Import a project to SSB from a specified sync source.
    api_response = api_instance.import_project(body, project, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->importProject: %s\n" % e)

Parameters

Path parameters
Name Description
project*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid git remote repository parameters.

Status: 500 - Unexpected server error.

Status: 200 - Import was successful.


setSyncSource

Update the current project's sync source configuration.


/api/v1/sync/config

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.setSyncSource(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#setSyncSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.setSyncSource(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#setSyncSource");
            e.printStackTrace();
        }
    }
}
SyncSourceDto *body = ; // 
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Update the current project's sync source configuration.
[apiInstance setSyncSourceWith:body
    authorization:authorization
              completionHandler: ^(SyncSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var body = ; // {{SyncSourceDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.setSyncSource(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class setSyncSourceExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var body = new SyncSourceDto(); // SyncSourceDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Update the current project's sync source configuration.
                SyncSourceDto result = apiInstance.setSyncSource(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.setSyncSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$body = ; // SyncSourceDto | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->setSyncSource($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->setSyncSource: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SyncSourceDto->new(); # SyncSourceDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->setSyncSource(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->setSyncSource: $@\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.ProjectSyncOperationsApi()
body =  # SyncSourceDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Update the current project's sync source configuration.
    api_response = api_instance.set_sync_source(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->setSyncSource: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


validateSyncSource

Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.


/api/v1/sync/config/validate/{project}

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sync/config/validate/{project}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ProjectSyncOperationsApi;

import java.io.File;
import java.util.*;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String project = project_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateSyncSource(body, project, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#validateSyncSource");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.ProjectSyncOperationsApi;

public class ProjectSyncOperationsApiExample {

    public static void main(String[] args) {
        ProjectSyncOperationsApi apiInstance = new ProjectSyncOperationsApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String project = project_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateSyncSource(body, project, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling ProjectSyncOperationsApi#validateSyncSource");
            e.printStackTrace();
        }
    }
}
SyncSourceDto *body = ; // 
String *project = project_example; // 
String *authorization = authorization_example; //  (optional)

ProjectSyncOperationsApi *apiInstance = [[ProjectSyncOperationsApi alloc] init];

// Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.
[apiInstance validateSyncSourceWith:body
    project:project
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.ProjectSyncOperationsApi()
var body = ; // {{SyncSourceDto}} 
var project = project_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.validateSyncSource(bodyproject, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class validateSyncSourceExample
    {
        public void main()
        {

            var apiInstance = new ProjectSyncOperationsApi();
            var body = new SyncSourceDto(); // SyncSourceDto | 
            var project = project_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.
                apiInstance.validateSyncSource(body, project, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling ProjectSyncOperationsApi.validateSyncSource: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiProjectSyncOperationsApi();
$body = ; // SyncSourceDto | 
$project = project_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->validateSyncSource($body, $project, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling ProjectSyncOperationsApi->validateSyncSource: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ProjectSyncOperationsApi;

my $api_instance = WWW::SwaggerClient::ProjectSyncOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SyncSourceDto->new(); # SyncSourceDto | 
my $project = project_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->validateSyncSource(body => $body, project => $project, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling ProjectSyncOperationsApi->validateSyncSource: $@\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.ProjectSyncOperationsApi()
body =  # SyncSourceDto | 
project = project_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.
    api_instance.validate_sync_source(body, project, authorization=authorization)
except ApiException as e:
    print("Exception when calling ProjectSyncOperationsApi->validateSyncSource: %s\n" % e)

Parameters

Path parameters
Name Description
project*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected error during validation.

Status: 400 - The sync source is invalid, or the validation has failed.

Status: 200 - The sync source is valid.


RegisterOperations

registerUser

Registers a new user.


/internal/register

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/register"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.RegisterOperationsApi;

import java.io.File;
import java.util.*;

public class RegisterOperationsApiExample {

    public static void main(String[] args) {
        
        RegisterOperationsApi apiInstance = new RegisterOperationsApi();
        RegisterRequest body = ; // RegisterRequest | 
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.registerUser(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RegisterOperationsApi#registerUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.RegisterOperationsApi;

public class RegisterOperationsApiExample {

    public static void main(String[] args) {
        RegisterOperationsApi apiInstance = new RegisterOperationsApi();
        RegisterRequest body = ; // RegisterRequest | 
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.registerUser(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling RegisterOperationsApi#registerUser");
            e.printStackTrace();
        }
    }
}
RegisterRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

RegisterOperationsApi *apiInstance = [[RegisterOperationsApi alloc] init];

// Registers a new user.
[apiInstance registerUserWith:body
    authorization:authorization
              completionHandler: ^(UserDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.RegisterOperationsApi()
var body = ; // {{RegisterRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.registerUser(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class registerUserExample
    {
        public void main()
        {

            var apiInstance = new RegisterOperationsApi();
            var body = new RegisterRequest(); // RegisterRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Registers a new user.
                UserDto result = apiInstance.registerUser(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling RegisterOperationsApi.registerUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiRegisterOperationsApi();
$body = ; // RegisterRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->registerUser($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling RegisterOperationsApi->registerUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::RegisterOperationsApi;

my $api_instance = WWW::SwaggerClient::RegisterOperationsApi->new();
my $body = WWW::SwaggerClient::Object::RegisterRequest->new(); # RegisterRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->registerUser(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling RegisterOperationsApi->registerUser: $@\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.RegisterOperationsApi()
body =  # RegisterRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Registers a new user.
    api_response = api_instance.register_user(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling RegisterOperationsApi->registerUser: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request or user already exists.

Status: 200 - User registered successfully.

Status: 500 - Unexpected server error.


SQLHistoryOperations

deleteAllByProjectIdAndUserIdV2

Deletes all history items of the given user in the specified project. Only available for admins/owners.


/api/v2/projects/{projectId}/history/user/{userId}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/history/user/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLHistoryOperationsApi;

import java.io.File;
import java.util.*;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteAllByProjectIdAndUserIdV2(projectId, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#deleteAllByProjectIdAndUserIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLHistoryOperationsApi;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteAllByProjectIdAndUserIdV2(projectId, userId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#deleteAllByProjectIdAndUserIdV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *userId = userId_example; // 
String *authorization = authorization_example; //  (optional)

SQLHistoryOperationsApi *apiInstance = [[SQLHistoryOperationsApi alloc] init];

// Deletes all history items of the given user in the specified project. Only available for admins/owners.
[apiInstance deleteAllByProjectIdAndUserIdV2With:projectId
    userId:userId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLHistoryOperationsApi()
var projectId = projectId_example; // {{String}} 
var userId = userId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteAllByProjectIdAndUserIdV2(projectId, userId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteAllByProjectIdAndUserIdV2Example
    {
        public void main()
        {

            var apiInstance = new SQLHistoryOperationsApi();
            var projectId = projectId_example;  // String | 
            var userId = userId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes all history items of the given user in the specified project. Only available for admins/owners.
                apiInstance.deleteAllByProjectIdAndUserIdV2(projectId, userId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLHistoryOperationsApi.deleteAllByProjectIdAndUserIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLHistoryOperationsApi();
$projectId = projectId_example; // String | 
$userId = userId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteAllByProjectIdAndUserIdV2($projectId, $userId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling SQLHistoryOperationsApi->deleteAllByProjectIdAndUserIdV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLHistoryOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLHistoryOperationsApi->new();
my $projectId = projectId_example; # String | 
my $userId = userId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteAllByProjectIdAndUserIdV2(projectId => $projectId, userId => $userId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling SQLHistoryOperationsApi->deleteAllByProjectIdAndUserIdV2: $@\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.SQLHistoryOperationsApi()
projectId = projectId_example # String | 
userId = userId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes all history items of the given user in the specified project. Only available for admins/owners.
    api_instance.delete_all_by_project_id_and_user_id_v2(projectId, userId, authorization=authorization)
except ApiException as e:
    print("Exception when calling SQLHistoryOperationsApi->deleteAllByProjectIdAndUserIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
userId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - History items deleted successfully.

Status: 404 - Project not found.

Status: 500 - Unexpected server error.


deleteAllByProjectIdV2

Deletes all history items of the current user in the specified project.


/api/v2/projects/{projectId}/history

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/history"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLHistoryOperationsApi;

import java.io.File;
import java.util.*;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteAllByProjectIdV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#deleteAllByProjectIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLHistoryOperationsApi;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteAllByProjectIdV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#deleteAllByProjectIdV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SQLHistoryOperationsApi *apiInstance = [[SQLHistoryOperationsApi alloc] init];

// Deletes all history items of the current user in the specified project.
[apiInstance deleteAllByProjectIdV2With:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLHistoryOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteAllByProjectIdV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteAllByProjectIdV2Example
    {
        public void main()
        {

            var apiInstance = new SQLHistoryOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes all history items of the current user in the specified project.
                apiInstance.deleteAllByProjectIdV2(projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLHistoryOperationsApi.deleteAllByProjectIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLHistoryOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteAllByProjectIdV2($projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling SQLHistoryOperationsApi->deleteAllByProjectIdV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLHistoryOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLHistoryOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteAllByProjectIdV2(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling SQLHistoryOperationsApi->deleteAllByProjectIdV2: $@\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.SQLHistoryOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes all history items of the current user in the specified project.
    api_instance.delete_all_by_project_id_v2(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling SQLHistoryOperationsApi->deleteAllByProjectIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - History items deleted successfully.

Status: 404 - Project not found.

Status: 500 - Unexpected server error.


deleteByIdAndProjectV2

Deletes a given history item from the specified project.


/api/v2/projects/{projectId}/history/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/history/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLHistoryOperationsApi;

import java.io.File;
import java.util.*;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteByIdAndProjectV2(projectId, id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#deleteByIdAndProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLHistoryOperationsApi;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteByIdAndProjectV2(projectId, id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#deleteByIdAndProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

SQLHistoryOperationsApi *apiInstance = [[SQLHistoryOperationsApi alloc] init];

// Deletes a given history item from the specified project.
[apiInstance deleteByIdAndProjectV2With:projectId
    id:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLHistoryOperationsApi()
var projectId = projectId_example; // {{String}} 
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteByIdAndProjectV2(projectId, id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteByIdAndProjectV2Example
    {
        public void main()
        {

            var apiInstance = new SQLHistoryOperationsApi();
            var projectId = projectId_example;  // String | 
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a given history item from the specified project.
                apiInstance.deleteByIdAndProjectV2(projectId, id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLHistoryOperationsApi.deleteByIdAndProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLHistoryOperationsApi();
$projectId = projectId_example; // String | 
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteByIdAndProjectV2($projectId, $id, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling SQLHistoryOperationsApi->deleteByIdAndProjectV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLHistoryOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLHistoryOperationsApi->new();
my $projectId = projectId_example; # String | 
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteByIdAndProjectV2(projectId => $projectId, id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling SQLHistoryOperationsApi->deleteByIdAndProjectV2: $@\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.SQLHistoryOperationsApi()
projectId = projectId_example # String | 
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a given history item from the specified project.
    api_instance.delete_by_id_and_project_v2(projectId, id, authorization=authorization)
except ApiException as e:
    print("Exception when calling SQLHistoryOperationsApi->deleteByIdAndProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Project not found.

Status: 200 - History item deleted successfully.

Status: 500 - Unexpected server error.


getAllByCurrentUserV2

Retrieves all history items of the current user from the specified project.


/api/v2/projects/{projectId}/history/user

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/history/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLHistoryOperationsApi;

import java.io.File;
import java.util.*;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getAllByCurrentUserV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#getAllByCurrentUserV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLHistoryOperationsApi;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getAllByCurrentUserV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#getAllByCurrentUserV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SQLHistoryOperationsApi *apiInstance = [[SQLHistoryOperationsApi alloc] init];

// Retrieves all history items of the current user from the specified project.
[apiInstance getAllByCurrentUserV2With:projectId
    authorization:authorization
              completionHandler: ^(array[HistoryItemDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLHistoryOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllByCurrentUserV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllByCurrentUserV2Example
    {
        public void main()
        {

            var apiInstance = new SQLHistoryOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all history items of the current user from the specified project.
                array[HistoryItemDto] result = apiInstance.getAllByCurrentUserV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLHistoryOperationsApi.getAllByCurrentUserV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLHistoryOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getAllByCurrentUserV2($projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SQLHistoryOperationsApi->getAllByCurrentUserV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLHistoryOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLHistoryOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllByCurrentUserV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SQLHistoryOperationsApi->getAllByCurrentUserV2: $@\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.SQLHistoryOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all history items of the current user from the specified project.
    api_response = api_instance.get_all_by_current_user_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SQLHistoryOperationsApi->getAllByCurrentUserV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - User not found.

Status: 200 - History items retrieved successfully.

Status: 500 - Unexpected server error.


getAllByOtherUserV2

Retrieves all history items of the given user from the specified project. Only available for admins/owners.


/api/v2/projects/{projectId}/history/user/{userId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/history/user/{userId}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLHistoryOperationsApi;

import java.io.File;
import java.util.*;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getAllByOtherUserV2(projectId, userId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#getAllByOtherUserV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLHistoryOperationsApi;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String userId = userId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getAllByOtherUserV2(projectId, userId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#getAllByOtherUserV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *userId = userId_example; // 
String *authorization = authorization_example; //  (optional)

SQLHistoryOperationsApi *apiInstance = [[SQLHistoryOperationsApi alloc] init];

// Retrieves all history items of the given user from the specified project. Only available for admins/owners.
[apiInstance getAllByOtherUserV2With:projectId
    userId:userId
    authorization:authorization
              completionHandler: ^(array[HistoryItemDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLHistoryOperationsApi()
var projectId = projectId_example; // {{String}} 
var userId = userId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllByOtherUserV2(projectId, userId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllByOtherUserV2Example
    {
        public void main()
        {

            var apiInstance = new SQLHistoryOperationsApi();
            var projectId = projectId_example;  // String | 
            var userId = userId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all history items of the given user from the specified project. Only available for admins/owners.
                array[HistoryItemDto] result = apiInstance.getAllByOtherUserV2(projectId, userId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLHistoryOperationsApi.getAllByOtherUserV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLHistoryOperationsApi();
$projectId = projectId_example; // String | 
$userId = userId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getAllByOtherUserV2($projectId, $userId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SQLHistoryOperationsApi->getAllByOtherUserV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLHistoryOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLHistoryOperationsApi->new();
my $projectId = projectId_example; # String | 
my $userId = userId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllByOtherUserV2(projectId => $projectId, userId => $userId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SQLHistoryOperationsApi->getAllByOtherUserV2: $@\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.SQLHistoryOperationsApi()
projectId = projectId_example # String | 
userId = userId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all history items of the given user from the specified project. Only available for admins/owners.
    api_response = api_instance.get_all_by_other_user_v2(projectId, userId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SQLHistoryOperationsApi->getAllByOtherUserV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
userId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - User not found.

Status: 200 - History items retrieved successfully.

Status: 500 - Unexpected server error.


getAllByProjectV2

Retrieves all history items in the specified project.


/api/v2/projects/{projectId}/history

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/history"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLHistoryOperationsApi;

import java.io.File;
import java.util.*;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getAllByProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#getAllByProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLHistoryOperationsApi;

public class SQLHistoryOperationsApiExample {

    public static void main(String[] args) {
        SQLHistoryOperationsApi apiInstance = new SQLHistoryOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[HistoryItemDto] result = apiInstance.getAllByProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLHistoryOperationsApi#getAllByProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SQLHistoryOperationsApi *apiInstance = [[SQLHistoryOperationsApi alloc] init];

// Retrieves all history items in the specified project.
[apiInstance getAllByProjectV2With:projectId
    authorization:authorization
              completionHandler: ^(array[HistoryItemDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLHistoryOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllByProjectV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllByProjectV2Example
    {
        public void main()
        {

            var apiInstance = new SQLHistoryOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all history items in the specified project.
                array[HistoryItemDto] result = apiInstance.getAllByProjectV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLHistoryOperationsApi.getAllByProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLHistoryOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getAllByProjectV2($projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SQLHistoryOperationsApi->getAllByProjectV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLHistoryOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLHistoryOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllByProjectV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SQLHistoryOperationsApi->getAllByProjectV2: $@\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.SQLHistoryOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all history items in the specified project.
    api_response = api_instance.get_all_by_project_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SQLHistoryOperationsApi->getAllByProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 404 - Project not found.

Status: 200 - History items retrieved successfully.

Status: 500 - Unexpected server error.


SQLOperations

analyzeSql

Execute SQL analyze query.


/api/v1/sql/analyze

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sql/analyze"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLOperationsApi;

import java.io.File;
import java.util.*;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlAnalyzeRequest body = ; // SqlAnalyzeRequest | 
        String authorization = authorization_example; // String | 
        try {
            SqlAnalyzeResponse result = apiInstance.analyzeSql(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#analyzeSql");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLOperationsApi;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlAnalyzeRequest body = ; // SqlAnalyzeRequest | 
        String authorization = authorization_example; // String | 
        try {
            SqlAnalyzeResponse result = apiInstance.analyzeSql(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#analyzeSql");
            e.printStackTrace();
        }
    }
}
SqlAnalyzeRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

SQLOperationsApi *apiInstance = [[SQLOperationsApi alloc] init];

// Execute SQL analyze query.
[apiInstance analyzeSqlWith:body
    authorization:authorization
              completionHandler: ^(SqlAnalyzeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLOperationsApi()
var body = ; // {{SqlAnalyzeRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.analyzeSql(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class analyzeSqlExample
    {
        public void main()
        {

            var apiInstance = new SQLOperationsApi();
            var body = new SqlAnalyzeRequest(); // SqlAnalyzeRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Execute SQL analyze query.
                SqlAnalyzeResponse result = apiInstance.analyzeSql(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLOperationsApi.analyzeSql: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLOperationsApi();
$body = ; // SqlAnalyzeRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->analyzeSql($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SQLOperationsApi->analyzeSql: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlAnalyzeRequest->new(); # SqlAnalyzeRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->analyzeSql(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SQLOperationsApi->analyzeSql: $@\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.SQLOperationsApi()
body =  # SqlAnalyzeRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Execute SQL analyze query.
    api_response = api_instance.analyze_sql(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SQLOperationsApi->analyzeSql: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format or SQL query.

Status: 500 - Unexpected server error.


analyzeSqlV2

Execute SQL analyze query.


/api/v2/projects/{projectId}/sql/analyze

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sql/analyze"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLOperationsApi;

import java.io.File;
import java.util.*;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlAnalyzeRequest body = ; // SqlAnalyzeRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SqlAnalyzeResponse result = apiInstance.analyzeSqlV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#analyzeSqlV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLOperationsApi;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlAnalyzeRequest body = ; // SqlAnalyzeRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SqlAnalyzeResponse result = apiInstance.analyzeSqlV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#analyzeSqlV2");
            e.printStackTrace();
        }
    }
}
SqlAnalyzeRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SQLOperationsApi *apiInstance = [[SQLOperationsApi alloc] init];

// Execute SQL analyze query.
[apiInstance analyzeSqlV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(SqlAnalyzeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLOperationsApi()
var body = ; // {{SqlAnalyzeRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.analyzeSqlV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class analyzeSqlV2Example
    {
        public void main()
        {

            var apiInstance = new SQLOperationsApi();
            var body = new SqlAnalyzeRequest(); // SqlAnalyzeRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Execute SQL analyze query.
                SqlAnalyzeResponse result = apiInstance.analyzeSqlV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLOperationsApi.analyzeSqlV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLOperationsApi();
$body = ; // SqlAnalyzeRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->analyzeSqlV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SQLOperationsApi->analyzeSqlV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlAnalyzeRequest->new(); # SqlAnalyzeRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->analyzeSqlV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SQLOperationsApi->analyzeSqlV2: $@\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.SQLOperationsApi()
body =  # SqlAnalyzeRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Execute SQL analyze query.
    api_response = api_instance.analyze_sql_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SQLOperationsApi->analyzeSqlV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format or SQL query.

Status: 500 - Unexpected server error.


executeSql

Execute SQL query.


/api/v1/sql/execute

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/sql/execute"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLOperationsApi;

import java.io.File;
import java.util.*;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            inline_response_200 result = apiInstance.executeSql(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#executeSql");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLOperationsApi;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String authorization = authorization_example; // String | 
        try {
            inline_response_200 result = apiInstance.executeSql(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#executeSql");
            e.printStackTrace();
        }
    }
}
SqlExecuteRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

SQLOperationsApi *apiInstance = [[SQLOperationsApi alloc] init];

// Execute SQL query.
[apiInstance executeSqlWith:body
    authorization:authorization
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLOperationsApi()
var body = ; // {{SqlExecuteRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.executeSql(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class executeSqlExample
    {
        public void main()
        {

            var apiInstance = new SQLOperationsApi();
            var body = new SqlExecuteRequest(); // SqlExecuteRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Execute SQL query.
                inline_response_200 result = apiInstance.executeSql(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLOperationsApi.executeSql: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLOperationsApi();
$body = ; // SqlExecuteRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->executeSql($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SQLOperationsApi->executeSql: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->executeSql(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SQLOperationsApi->executeSql: $@\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.SQLOperationsApi()
body =  # SqlExecuteRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Execute SQL query.
    api_response = api_instance.execute_sql(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SQLOperationsApi->executeSql: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format or SQL query.

Status: 500 - Unexpected server error.


executeSqlV2

Execute SQL query.


/api/v2/projects/{projectId}/sql/execute

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sql/execute"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SQLOperationsApi;

import java.io.File;
import java.util.*;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            inline_response_200 result = apiInstance.executeSqlV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#executeSqlV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SQLOperationsApi;

public class SQLOperationsApiExample {

    public static void main(String[] args) {
        SQLOperationsApi apiInstance = new SQLOperationsApi();
        SqlExecuteRequest body = ; // SqlExecuteRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            inline_response_200 result = apiInstance.executeSqlV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SQLOperationsApi#executeSqlV2");
            e.printStackTrace();
        }
    }
}
SqlExecuteRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SQLOperationsApi *apiInstance = [[SQLOperationsApi alloc] init];

// Execute SQL query.
[apiInstance executeSqlV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(inline_response_200 output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SQLOperationsApi()
var body = ; // {{SqlExecuteRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.executeSqlV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class executeSqlV2Example
    {
        public void main()
        {

            var apiInstance = new SQLOperationsApi();
            var body = new SqlExecuteRequest(); // SqlExecuteRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Execute SQL query.
                inline_response_200 result = apiInstance.executeSqlV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SQLOperationsApi.executeSqlV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSQLOperationsApi();
$body = ; // SqlExecuteRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->executeSqlV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SQLOperationsApi->executeSqlV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SQLOperationsApi;

my $api_instance = WWW::SwaggerClient::SQLOperationsApi->new();
my $body = WWW::SwaggerClient::Object::SqlExecuteRequest->new(); # SqlExecuteRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->executeSqlV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SQLOperationsApi->executeSqlV2: $@\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.SQLOperationsApi()
body =  # SqlExecuteRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Execute SQL query.
    api_response = api_instance.execute_sql_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SQLOperationsApi->executeSqlV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format or SQL query.

Status: 500 - Unexpected server error.


SSBSessionOperations

ensureSession

Ensures the session exists and returns session properties.


/api/v1/session

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/session"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SSBSessionOperationsApi;

import java.io.File;
import java.util.*;

public class SSBSessionOperationsApiExample {

    public static void main(String[] args) {
        
        SSBSessionOperationsApi apiInstance = new SSBSessionOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SessionDto result = apiInstance.ensureSession(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SSBSessionOperationsApi#ensureSession");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SSBSessionOperationsApi;

public class SSBSessionOperationsApiExample {

    public static void main(String[] args) {
        SSBSessionOperationsApi apiInstance = new SSBSessionOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SessionDto result = apiInstance.ensureSession(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SSBSessionOperationsApi#ensureSession");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

SSBSessionOperationsApi *apiInstance = [[SSBSessionOperationsApi alloc] init];

// Ensures the session exists and returns session properties.
[apiInstance ensureSessionWith:authorization
              completionHandler: ^(SessionDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SSBSessionOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.ensureSession(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class ensureSessionExample
    {
        public void main()
        {

            var apiInstance = new SSBSessionOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Ensures the session exists and returns session properties.
                SessionDto result = apiInstance.ensureSession(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SSBSessionOperationsApi.ensureSession: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSSBSessionOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->ensureSession($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SSBSessionOperationsApi->ensureSession: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SSBSessionOperationsApi;

my $api_instance = WWW::SwaggerClient::SSBSessionOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->ensureSession(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SSBSessionOperationsApi->ensureSession: $@\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.SSBSessionOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Ensures the session exists and returns session properties.
    api_response = api_instance.ensure_session(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SSBSessionOperationsApi->ensureSession: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Session exists, properties returned successfully.

Status: 500 - Unexpected server error.


resetSession

Resets the session and returns the newly created session properties.


/api/v1/session/reset

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/session/reset"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SSBSessionOperationsApi;

import java.io.File;
import java.util.*;

public class SSBSessionOperationsApiExample {

    public static void main(String[] args) {
        
        SSBSessionOperationsApi apiInstance = new SSBSessionOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SessionDto result = apiInstance.resetSession(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SSBSessionOperationsApi#resetSession");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SSBSessionOperationsApi;

public class SSBSessionOperationsApiExample {

    public static void main(String[] args) {
        SSBSessionOperationsApi apiInstance = new SSBSessionOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            SessionDto result = apiInstance.resetSession(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SSBSessionOperationsApi#resetSession");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

SSBSessionOperationsApi *apiInstance = [[SSBSessionOperationsApi alloc] init];

// Resets the session and returns the newly created session properties.
[apiInstance resetSessionWith:authorization
              completionHandler: ^(SessionDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SSBSessionOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.resetSession(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class resetSessionExample
    {
        public void main()
        {

            var apiInstance = new SSBSessionOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Resets the session and returns the newly created session properties.
                SessionDto result = apiInstance.resetSession(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SSBSessionOperationsApi.resetSession: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSSBSessionOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->resetSession($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SSBSessionOperationsApi->resetSession: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SSBSessionOperationsApi;

my $api_instance = WWW::SwaggerClient::SSBSessionOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->resetSession(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SSBSessionOperationsApi->resetSession: $@\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.SSBSessionOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Resets the session and returns the newly created session properties.
    api_response = api_instance.reset_session(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SSBSessionOperationsApi->resetSession: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - New session created, properties returned successfully.

Status: 500 - Unexpected server error.


SamplingOperations

configure

Configures sampling.


/api/v2/samples/{sampleId}/configure

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/samples/{sampleId}/configure"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SamplingOperationsApi;

import java.io.File;
import java.util.*;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        ConfigureSampleRequest body = ; // ConfigureSampleRequest | 
        String sampleId = sampleId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.configure(body, sampleId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#configure");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SamplingOperationsApi;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        ConfigureSampleRequest body = ; // ConfigureSampleRequest | 
        String sampleId = sampleId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.configure(body, sampleId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#configure");
            e.printStackTrace();
        }
    }
}
ConfigureSampleRequest *body = ; // 
String *sampleId = sampleId_example; // 
String *authorization = authorization_example; //  (optional)

SamplingOperationsApi *apiInstance = [[SamplingOperationsApi alloc] init];

// Configures sampling.
[apiInstance configureWith:body
    sampleId:sampleId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SamplingOperationsApi()
var body = ; // {{ConfigureSampleRequest}} 
var sampleId = sampleId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.configure(bodysampleId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class configureExample
    {
        public void main()
        {

            var apiInstance = new SamplingOperationsApi();
            var body = new ConfigureSampleRequest(); // ConfigureSampleRequest | 
            var sampleId = sampleId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Configures sampling.
                apiInstance.configure(body, sampleId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SamplingOperationsApi.configure: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSamplingOperationsApi();
$body = ; // ConfigureSampleRequest | 
$sampleId = sampleId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->configure($body, $sampleId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling SamplingOperationsApi->configure: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SamplingOperationsApi;

my $api_instance = WWW::SwaggerClient::SamplingOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ConfigureSampleRequest->new(); # ConfigureSampleRequest | 
my $sampleId = sampleId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->configure(body => $body, sampleId => $sampleId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling SamplingOperationsApi->configure: $@\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.SamplingOperationsApi()
body =  # ConfigureSampleRequest | 
sampleId = sampleId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Configures sampling.
    api_instance.configure(body, sampleId, authorization=authorization)
except ApiException as e:
    print("Exception when calling SamplingOperationsApi->configure: %s\n" % e)

Parameters

Path parameters
Name Description
sampleId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Job state retrieved successfully.

Status: 403 - User has no access to the corresponding job.


configure1

Configures sampling.


/api/v1/samples/{sampleId}/configure

Usage and SDK Samples

curl -X POST\
-H "Accept: */*"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/samples/{sampleId}/configure"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SamplingOperationsApi;

import java.io.File;
import java.util.*;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        ConfigureSampleRequest body = ; // ConfigureSampleRequest | 
        String sampleId = sampleId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.configure1(body, sampleId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#configure1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SamplingOperationsApi;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        ConfigureSampleRequest body = ; // ConfigureSampleRequest | 
        String sampleId = sampleId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.configure1(body, sampleId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#configure1");
            e.printStackTrace();
        }
    }
}
ConfigureSampleRequest *body = ; // 
String *sampleId = sampleId_example; // 
String *authorization = authorization_example; //  (optional)

SamplingOperationsApi *apiInstance = [[SamplingOperationsApi alloc] init];

// Configures sampling.
[apiInstance configure1With:body
    sampleId:sampleId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SamplingOperationsApi()
var body = ; // {{ConfigureSampleRequest}} 
var sampleId = sampleId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.configure1(bodysampleId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class configure1Example
    {
        public void main()
        {

            var apiInstance = new SamplingOperationsApi();
            var body = new ConfigureSampleRequest(); // ConfigureSampleRequest | 
            var sampleId = sampleId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Configures sampling.
                apiInstance.configure1(body, sampleId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SamplingOperationsApi.configure1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSamplingOperationsApi();
$body = ; // ConfigureSampleRequest | 
$sampleId = sampleId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->configure1($body, $sampleId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling SamplingOperationsApi->configure1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SamplingOperationsApi;

my $api_instance = WWW::SwaggerClient::SamplingOperationsApi->new();
my $body = WWW::SwaggerClient::Object::ConfigureSampleRequest->new(); # ConfigureSampleRequest | 
my $sampleId = sampleId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->configure1(body => $body, sampleId => $sampleId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling SamplingOperationsApi->configure1: $@\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.SamplingOperationsApi()
body =  # ConfigureSampleRequest | 
sampleId = sampleId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Configures sampling.
    api_instance.configure1(body, sampleId, authorization=authorization)
except ApiException as e:
    print("Exception when calling SamplingOperationsApi->configure1: %s\n" % e)

Parameters

Path parameters
Name Description
sampleId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Job state retrieved successfully.

Status: 403 - User has no access to the corresponding job.


pollResult

Polls sample results.


/api/v1/samples/{sampleId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/samples/{sampleId}?timeout="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SamplingOperationsApi;

import java.io.File;
import java.util.*;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        String sampleId = sampleId_example; // String | 
        Long timeout = 789; // Long | Poll timeout in ms.
        String authorization = authorization_example; // String | 
        try {
            PollSampleResult result = apiInstance.pollResult(sampleId, timeout, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#pollResult");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SamplingOperationsApi;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        String sampleId = sampleId_example; // String | 
        Long timeout = 789; // Long | Poll timeout in ms.
        String authorization = authorization_example; // String | 
        try {
            PollSampleResult result = apiInstance.pollResult(sampleId, timeout, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#pollResult");
            e.printStackTrace();
        }
    }
}
String *sampleId = sampleId_example; // 
Long *timeout = 789; // Poll timeout in ms. (optional) (default to 1000)
String *authorization = authorization_example; //  (optional)

SamplingOperationsApi *apiInstance = [[SamplingOperationsApi alloc] init];

// Polls sample results.
[apiInstance pollResultWith:sampleId
    timeout:timeout
    authorization:authorization
              completionHandler: ^(PollSampleResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SamplingOperationsApi()
var sampleId = sampleId_example; // {{String}} 
var opts = { 
  'timeout': 789, // {{Long}} Poll timeout in ms.
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pollResult(sampleId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pollResultExample
    {
        public void main()
        {

            var apiInstance = new SamplingOperationsApi();
            var sampleId = sampleId_example;  // String | 
            var timeout = 789;  // Long | Poll timeout in ms. (optional)  (default to 1000)
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Polls sample results.
                PollSampleResult result = apiInstance.pollResult(sampleId, timeout, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SamplingOperationsApi.pollResult: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSamplingOperationsApi();
$sampleId = sampleId_example; // String | 
$timeout = 789; // Long | Poll timeout in ms.
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->pollResult($sampleId, $timeout, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SamplingOperationsApi->pollResult: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SamplingOperationsApi;

my $api_instance = WWW::SwaggerClient::SamplingOperationsApi->new();
my $sampleId = sampleId_example; # String | 
my $timeout = 789; # Long | Poll timeout in ms.
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->pollResult(sampleId => $sampleId, timeout => $timeout, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SamplingOperationsApi->pollResult: $@\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.SamplingOperationsApi()
sampleId = sampleId_example # String | 
timeout = 789 # Long | Poll timeout in ms. (optional) (default to 1000)
authorization = authorization_example # String |  (optional)

try: 
    # Polls sample results.
    api_response = api_instance.poll_result(sampleId, timeout=timeout, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SamplingOperationsApi->pollResult: %s\n" % e)

Parameters

Path parameters
Name Description
sampleId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
timeout
Long (int64)
Poll timeout in ms.

Responses

Status: 400 - Bad sampling configuration.

Status: 200 - Polled results returned successfully.

Status: 500 - Unexpected server error.


pollResult1

Polls sample results.


/api/v2/samples/{sampleId}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/samples/{sampleId}?timeout="
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SamplingOperationsApi;

import java.io.File;
import java.util.*;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        String sampleId = sampleId_example; // String | 
        Long timeout = 789; // Long | Poll timeout in ms.
        String authorization = authorization_example; // String | 
        try {
            PollSampleResult result = apiInstance.pollResult1(sampleId, timeout, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#pollResult1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SamplingOperationsApi;

public class SamplingOperationsApiExample {

    public static void main(String[] args) {
        SamplingOperationsApi apiInstance = new SamplingOperationsApi();
        String sampleId = sampleId_example; // String | 
        Long timeout = 789; // Long | Poll timeout in ms.
        String authorization = authorization_example; // String | 
        try {
            PollSampleResult result = apiInstance.pollResult1(sampleId, timeout, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SamplingOperationsApi#pollResult1");
            e.printStackTrace();
        }
    }
}
String *sampleId = sampleId_example; // 
Long *timeout = 789; // Poll timeout in ms. (optional) (default to 1000)
String *authorization = authorization_example; //  (optional)

SamplingOperationsApi *apiInstance = [[SamplingOperationsApi alloc] init];

// Polls sample results.
[apiInstance pollResult1With:sampleId
    timeout:timeout
    authorization:authorization
              completionHandler: ^(PollSampleResult output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SamplingOperationsApi()
var sampleId = sampleId_example; // {{String}} 
var opts = { 
  'timeout': 789, // {{Long}} Poll timeout in ms.
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.pollResult1(sampleId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class pollResult1Example
    {
        public void main()
        {

            var apiInstance = new SamplingOperationsApi();
            var sampleId = sampleId_example;  // String | 
            var timeout = 789;  // Long | Poll timeout in ms. (optional)  (default to 1000)
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Polls sample results.
                PollSampleResult result = apiInstance.pollResult1(sampleId, timeout, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SamplingOperationsApi.pollResult1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSamplingOperationsApi();
$sampleId = sampleId_example; // String | 
$timeout = 789; // Long | Poll timeout in ms.
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->pollResult1($sampleId, $timeout, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SamplingOperationsApi->pollResult1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SamplingOperationsApi;

my $api_instance = WWW::SwaggerClient::SamplingOperationsApi->new();
my $sampleId = sampleId_example; # String | 
my $timeout = 789; # Long | Poll timeout in ms.
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->pollResult1(sampleId => $sampleId, timeout => $timeout, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SamplingOperationsApi->pollResult1: $@\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.SamplingOperationsApi()
sampleId = sampleId_example # String | 
timeout = 789 # Long | Poll timeout in ms. (optional) (default to 1000)
authorization = authorization_example # String |  (optional)

try: 
    # Polls sample results.
    api_response = api_instance.poll_result1(sampleId, timeout=timeout, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SamplingOperationsApi->pollResult1: %s\n" % e)

Parameters

Path parameters
Name Description
sampleId*
String
Required
Header parameters
Name Description
Authorization
String
Query parameters
Name Description
timeout
Long (int64)
Poll timeout in ms.

Responses

Status: 400 - Bad sampling configuration.

Status: 200 - Polled results returned successfully.

Status: 500 - Unexpected server error.


SynchronizingAnExistingProject

deleteSyncSourceV2

Delete the specified project's sync source configuration.


/api/v2/projects/{projectId}/sync/config

Usage and SDK Samples

curl -X DELETE\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sync/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

import java.io.File;
import java.util.*;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSyncSourceV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#deleteSyncSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteSyncSourceV2(projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#deleteSyncSourceV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SynchronizingAnExistingProjectApi *apiInstance = [[SynchronizingAnExistingProjectApi alloc] init];

// Delete the specified project's sync source configuration.
[apiInstance deleteSyncSourceV2With:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SynchronizingAnExistingProjectApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteSyncSourceV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteSyncSourceV2Example
    {
        public void main()
        {

            var apiInstance = new SynchronizingAnExistingProjectApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete the specified project's sync source configuration.
                apiInstance.deleteSyncSourceV2(projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SynchronizingAnExistingProjectApi.deleteSyncSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSynchronizingAnExistingProjectApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteSyncSourceV2($projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling SynchronizingAnExistingProjectApi->deleteSyncSourceV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SynchronizingAnExistingProjectApi;

my $api_instance = WWW::SwaggerClient::SynchronizingAnExistingProjectApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteSyncSourceV2(projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling SynchronizingAnExistingProjectApi->deleteSyncSourceV2: $@\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.SynchronizingAnExistingProjectApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Delete the specified project's sync source configuration.
    api_instance.delete_sync_source_v2(projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling SynchronizingAnExistingProjectApi->deleteSyncSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


exportProjectV2

Commit the specified project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used


/api/v2/projects/{projectId}/sync/export

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sync/export"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

import java.io.File;
import java.util.*;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        ExportProjectRequest body = ; // ExportProjectRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectExportResponse result = apiInstance.exportProjectV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#exportProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        ExportProjectRequest body = ; // ExportProjectRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            ProjectExportResponse result = apiInstance.exportProjectV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#exportProjectV2");
            e.printStackTrace();
        }
    }
}
ExportProjectRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SynchronizingAnExistingProjectApi *apiInstance = [[SynchronizingAnExistingProjectApi alloc] init];

// Commit the specified project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used
[apiInstance exportProjectV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(ProjectExportResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SynchronizingAnExistingProjectApi()
var body = ; // {{ExportProjectRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.exportProjectV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class exportProjectV2Example
    {
        public void main()
        {

            var apiInstance = new SynchronizingAnExistingProjectApi();
            var body = new ExportProjectRequest(); // ExportProjectRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Commit the specified project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used
                ProjectExportResponse result = apiInstance.exportProjectV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SynchronizingAnExistingProjectApi.exportProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSynchronizingAnExistingProjectApi();
$body = ; // ExportProjectRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->exportProjectV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SynchronizingAnExistingProjectApi->exportProjectV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SynchronizingAnExistingProjectApi;

my $api_instance = WWW::SwaggerClient::SynchronizingAnExistingProjectApi->new();
my $body = WWW::SwaggerClient::Object::ExportProjectRequest->new(); # ExportProjectRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->exportProjectV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SynchronizingAnExistingProjectApi->exportProjectV2: $@\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.SynchronizingAnExistingProjectApi()
body =  # ExportProjectRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Commit the specified project's changes and push it to a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used
    api_response = api_instance.export_project_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SynchronizingAnExistingProjectApi->exportProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


getSyncSourceV2

Get the specified project's sync source configuration.


/api/v2/projects/{projectId}/sync/config

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sync/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

import java.io.File;
import java.util.*;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.getSyncSourceV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#getSyncSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.getSyncSourceV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#getSyncSourceV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SynchronizingAnExistingProjectApi *apiInstance = [[SynchronizingAnExistingProjectApi alloc] init];

// Get the specified project's sync source configuration.
[apiInstance getSyncSourceV2With:projectId
    authorization:authorization
              completionHandler: ^(SyncSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SynchronizingAnExistingProjectApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getSyncSourceV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getSyncSourceV2Example
    {
        public void main()
        {

            var apiInstance = new SynchronizingAnExistingProjectApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Get the specified project's sync source configuration.
                SyncSourceDto result = apiInstance.getSyncSourceV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SynchronizingAnExistingProjectApi.getSyncSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSynchronizingAnExistingProjectApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getSyncSourceV2($projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SynchronizingAnExistingProjectApi->getSyncSourceV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SynchronizingAnExistingProjectApi;

my $api_instance = WWW::SwaggerClient::SynchronizingAnExistingProjectApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getSyncSourceV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SynchronizingAnExistingProjectApi->getSyncSourceV2: $@\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.SynchronizingAnExistingProjectApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Get the specified project's sync source configuration.
    api_response = api_instance.get_sync_source_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SynchronizingAnExistingProjectApi->getSyncSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


importProjectV2

Import (update) an existing project from a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used.


/api/v2/projects/{projectId}/sync/import

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sync/import"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

import java.io.File;
import java.util.*;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importProjectV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#importProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncResponse result = apiInstance.importProjectV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#importProjectV2");
            e.printStackTrace();
        }
    }
}
SyncSourceDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SynchronizingAnExistingProjectApi *apiInstance = [[SynchronizingAnExistingProjectApi alloc] init];

// Import (update) an existing project from a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used.
[apiInstance importProjectV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(SyncResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SynchronizingAnExistingProjectApi()
var body = ; // {{SyncSourceDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.importProjectV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class importProjectV2Example
    {
        public void main()
        {

            var apiInstance = new SynchronizingAnExistingProjectApi();
            var body = new SyncSourceDto(); // SyncSourceDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Import (update) an existing project from a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used.
                SyncResponse result = apiInstance.importProjectV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SynchronizingAnExistingProjectApi.importProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSynchronizingAnExistingProjectApi();
$body = ; // SyncSourceDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->importProjectV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SynchronizingAnExistingProjectApi->importProjectV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SynchronizingAnExistingProjectApi;

my $api_instance = WWW::SwaggerClient::SynchronizingAnExistingProjectApi->new();
my $body = WWW::SwaggerClient::Object::SyncSourceDto->new(); # SyncSourceDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->importProjectV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SynchronizingAnExistingProjectApi->importProjectV2: $@\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.SynchronizingAnExistingProjectApi()
body =  # SyncSourceDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Import (update) an existing project from a specified sync source. If a sync source config is provided, it will overwrite the project's existing one. If not, the project's saved sync source config will be used.
    api_response = api_instance.import_project_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SynchronizingAnExistingProjectApi->importProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid git remote repository parameters.

Status: 500 - Unexpected server error.

Status: 200 - Import was successful.


setSyncSourceV2

Update the specified project's sync source configuration.


/api/v2/projects/{projectId}/sync/config

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sync/config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

import java.io.File;
import java.util.*;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.setSyncSourceV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#setSyncSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            SyncSourceDto result = apiInstance.setSyncSourceV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#setSyncSourceV2");
            e.printStackTrace();
        }
    }
}
SyncSourceDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SynchronizingAnExistingProjectApi *apiInstance = [[SynchronizingAnExistingProjectApi alloc] init];

// Update the specified project's sync source configuration.
[apiInstance setSyncSourceV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(SyncSourceDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SynchronizingAnExistingProjectApi()
var body = ; // {{SyncSourceDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.setSyncSourceV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class setSyncSourceV2Example
    {
        public void main()
        {

            var apiInstance = new SynchronizingAnExistingProjectApi();
            var body = new SyncSourceDto(); // SyncSourceDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Update the specified project's sync source configuration.
                SyncSourceDto result = apiInstance.setSyncSourceV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SynchronizingAnExistingProjectApi.setSyncSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSynchronizingAnExistingProjectApi();
$body = ; // SyncSourceDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->setSyncSourceV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling SynchronizingAnExistingProjectApi->setSyncSourceV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SynchronizingAnExistingProjectApi;

my $api_instance = WWW::SwaggerClient::SynchronizingAnExistingProjectApi->new();
my $body = WWW::SwaggerClient::Object::SyncSourceDto->new(); # SyncSourceDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->setSyncSourceV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling SynchronizingAnExistingProjectApi->setSyncSourceV2: $@\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.SynchronizingAnExistingProjectApi()
body =  # SyncSourceDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Update the specified project's sync source configuration.
    api_response = api_instance.set_sync_source_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling SynchronizingAnExistingProjectApi->setSyncSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - OK


validateSyncSourceV2

Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.


/api/v2/projects/{projectId}/sync/config/validate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/sync/config/validate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

import java.io.File;
import java.util.*;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateSyncSourceV2(body, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#validateSyncSourceV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.SynchronizingAnExistingProjectApi;

public class SynchronizingAnExistingProjectApiExample {

    public static void main(String[] args) {
        SynchronizingAnExistingProjectApi apiInstance = new SynchronizingAnExistingProjectApi();
        SyncSourceDto body = ; // SyncSourceDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.validateSyncSourceV2(body, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling SynchronizingAnExistingProjectApi#validateSyncSourceV2");
            e.printStackTrace();
        }
    }
}
SyncSourceDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

SynchronizingAnExistingProjectApi *apiInstance = [[SynchronizingAnExistingProjectApi alloc] init];

// Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.
[apiInstance validateSyncSourceV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.SynchronizingAnExistingProjectApi()
var body = ; // {{SyncSourceDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.validateSyncSourceV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class validateSyncSourceV2Example
    {
        public void main()
        {

            var apiInstance = new SynchronizingAnExistingProjectApi();
            var body = new SyncSourceDto(); // SyncSourceDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.
                apiInstance.validateSyncSourceV2(body, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling SynchronizingAnExistingProjectApi.validateSyncSourceV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiSynchronizingAnExistingProjectApi();
$body = ; // SyncSourceDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->validateSyncSourceV2($body, $projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling SynchronizingAnExistingProjectApi->validateSyncSourceV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::SynchronizingAnExistingProjectApi;

my $api_instance = WWW::SwaggerClient::SynchronizingAnExistingProjectApi->new();
my $body = WWW::SwaggerClient::Object::SyncSourceDto->new(); # SyncSourceDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->validateSyncSourceV2(body => $body, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling SynchronizingAnExistingProjectApi->validateSyncSourceV2: $@\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.SynchronizingAnExistingProjectApi()
body =  # SyncSourceDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Validate a sync source configuration for a given project. Checks whether it is possible to import and export the project.
    api_instance.validate_sync_source_v2(body, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling SynchronizingAnExistingProjectApi->validateSyncSourceV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected error during validation.

Status: 400 - The sync source is invalid, or the validation has failed.

Status: 200 - The sync source is valid.


TableOperations

deleteTableByProjectIdAndId

Delete a table by its id.


/api/v1/tables/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/tables/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.deleteTableByProjectIdAndId(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#deleteTableByProjectIdAndId");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.deleteTableByProjectIdAndId(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#deleteTableByProjectIdAndId");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Delete a table by its id.
[apiInstance deleteTableByProjectIdAndIdWith:id
    authorization:authorization
              completionHandler: ^(TableDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteTableByProjectIdAndId(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteTableByProjectIdAndIdExample
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete a table by its id.
                TableDto result = apiInstance.deleteTableByProjectIdAndId(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.deleteTableByProjectIdAndId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->deleteTableByProjectIdAndId($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->deleteTableByProjectIdAndId: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->deleteTableByProjectIdAndId(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->deleteTableByProjectIdAndId: $@\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.TableOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Delete a table by its id.
    api_response = api_instance.delete_table_by_project_id_and_id(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->deleteTableByProjectIdAndId: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 500 - Unexpected server error.

Status: 200 - Delete executed successfully.


deleteTableByProjectIdAndIdV2

Delete a table in the specified project by its id.


/api/v2/projects/{projectId}/tables/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/tables/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.deleteTableByProjectIdAndIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#deleteTableByProjectIdAndIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.deleteTableByProjectIdAndIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#deleteTableByProjectIdAndIdV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Delete a table in the specified project by its id.
[apiInstance deleteTableByProjectIdAndIdV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(TableDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.deleteTableByProjectIdAndIdV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteTableByProjectIdAndIdV2Example
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Delete a table in the specified project by its id.
                TableDto result = apiInstance.deleteTableByProjectIdAndIdV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.deleteTableByProjectIdAndIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->deleteTableByProjectIdAndIdV2($id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->deleteTableByProjectIdAndIdV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->deleteTableByProjectIdAndIdV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->deleteTableByProjectIdAndIdV2: $@\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.TableOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Delete a table in the specified project by its id.
    api_response = api_instance.delete_table_by_project_id_and_id_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->deleteTableByProjectIdAndIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 500 - Unexpected server error.

Status: 200 - Delete executed successfully.


getTableById

Retrieve a table in the active project by its id.


/api/v1/tables/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/tables/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.getTableById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTableById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.getTableById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTableById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Retrieve a table in the active project by its id.
[apiInstance getTableByIdWith:id
    authorization:authorization
              completionHandler: ^(TableDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTableById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTableByIdExample
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieve a table in the active project by its id.
                TableDto result = apiInstance.getTableById(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.getTableById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getTableById($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->getTableById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getTableById(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->getTableById: $@\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.TableOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieve a table in the active project by its id.
    api_response = api_instance.get_table_by_id(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->getTableById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getTableByIdV2

Retrieve a table in the specified project by its id.


/api/v2/projects/{projectId}/tables/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/tables/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.getTableByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTableByIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        Integer id = 56; // Integer | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.getTableByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTableByIdV2");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Retrieve a table in the specified project by its id.
[apiInstance getTableByIdV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(TableDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var id = 56; // {{Integer}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTableByIdV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTableByIdV2Example
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var id = 56;  // Integer | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieve a table in the specified project by its id.
                TableDto result = apiInstance.getTableByIdV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.getTableByIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$id = 56; // Integer | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getTableByIdV2($id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->getTableByIdV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $id = 56; # Integer | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getTableByIdV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->getTableByIdV2: $@\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.TableOperationsApi()
id = 56 # Integer | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieve a table in the specified project by its id.
    api_response = api_instance.get_table_by_id_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->getTableByIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getTablesInProject

Retrieve all tables in the active project.


/api/v1/tables

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/tables"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[TableDto] result = apiInstance.getTablesInProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesInProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[TableDto] result = apiInstance.getTablesInProject(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesInProject");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Retrieve all tables in the active project.
[apiInstance getTablesInProjectWith:authorization
              completionHandler: ^(array[TableDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTablesInProject(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTablesInProjectExample
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieve all tables in the active project.
                array[TableDto] result = apiInstance.getTablesInProject(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.getTablesInProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getTablesInProject($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->getTablesInProject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getTablesInProject(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->getTablesInProject: $@\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.TableOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieve all tables in the active project.
    api_response = api_instance.get_tables_in_project(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->getTablesInProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getTablesInProjectV2

Retrieve all tables in the specified project.


/api/v2/projects/{projectId}/tables

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/tables"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[TableDto] result = apiInstance.getTablesInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesInProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[TableDto] result = apiInstance.getTablesInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesInProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Retrieve all tables in the specified project.
[apiInstance getTablesInProjectV2With:projectId
    authorization:authorization
              completionHandler: ^(array[TableDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTablesInProjectV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTablesInProjectV2Example
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieve all tables in the specified project.
                array[TableDto] result = apiInstance.getTablesInProjectV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.getTablesInProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getTablesInProjectV2($projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->getTablesInProjectV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getTablesInProjectV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->getTablesInProjectV2: $@\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.TableOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieve all tables in the specified project.
    api_response = api_instance.get_tables_in_project_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->getTablesInProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getTablesTree

Retrieves a list of tables in hierarchical form organized by catalog.


/api/v2/projects/{projectId}/tables/tree

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/tables/tree"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TablesTreeResponse result = apiInstance.getTablesTree(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesTree");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TablesTreeResponse result = apiInstance.getTablesTree(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesTree");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Retrieves a list of tables in hierarchical form organized by catalog.
[apiInstance getTablesTreeWith:projectId
    authorization:authorization
              completionHandler: ^(TablesTreeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTablesTree(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTablesTreeExample
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a list of tables in hierarchical form organized by catalog.
                TablesTreeResponse result = apiInstance.getTablesTree(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.getTablesTree: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getTablesTree($projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->getTablesTree: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getTablesTree(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->getTablesTree: $@\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.TableOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a list of tables in hierarchical form organized by catalog.
    api_response = api_instance.get_tables_tree(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->getTablesTree: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - The query was successful.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getTablesTree1

Retrieves a list of tables in hierarchical form organized by catalog.


/api/v1/tables/tree

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/tables/tree"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            TablesTreeResponse result = apiInstance.getTablesTree1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesTree1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            TablesTreeResponse result = apiInstance.getTablesTree1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#getTablesTree1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Retrieves a list of tables in hierarchical form organized by catalog.
[apiInstance getTablesTree1With:authorization
              completionHandler: ^(TablesTreeResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getTablesTree1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getTablesTree1Example
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a list of tables in hierarchical form organized by catalog.
                TablesTreeResponse result = apiInstance.getTablesTree1(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.getTablesTree1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getTablesTree1($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->getTablesTree1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getTablesTree1(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->getTablesTree1: $@\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.TableOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a list of tables in hierarchical form organized by catalog.
    api_response = api_instance.get_tables_tree1(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->getTablesTree1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - The query was successful.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


upsertTable

Create or update a table in the specified project.


/api/v2/projects/{projectId}/tables

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/tables"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        TableSyncDto body = ; // TableSyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.upsertTable(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#upsertTable");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        TableSyncDto body = ; // TableSyncDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.upsertTable(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#upsertTable");
            e.printStackTrace();
        }
    }
}
TableSyncDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Create or update a table in the specified project.
[apiInstance upsertTableWith:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(TableDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var body = ; // {{TableSyncDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.upsertTable(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class upsertTableExample
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var body = new TableSyncDto(); // TableSyncDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Create or update a table in the specified project.
                TableDto result = apiInstance.upsertTable(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.upsertTable: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$body = ; // TableSyncDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->upsertTable($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->upsertTable: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $body = WWW::SwaggerClient::Object::TableSyncDto->new(); # TableSyncDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->upsertTable(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->upsertTable: $@\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.TableOperationsApi()
body =  # TableSyncDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Create or update a table in the specified project.
    api_response = api_instance.upsert_table(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->upsertTable: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


upsertTable1

Create or update a table.


/api/v1/tables

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/tables"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.TableOperationsApi;

import java.io.File;
import java.util.*;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        
        TableOperationsApi apiInstance = new TableOperationsApi();
        TableDto body = ; // TableDto | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.upsertTable1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#upsertTable1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.TableOperationsApi;

public class TableOperationsApiExample {

    public static void main(String[] args) {
        TableOperationsApi apiInstance = new TableOperationsApi();
        TableDto body = ; // TableDto | 
        String authorization = authorization_example; // String | 
        try {
            TableDto result = apiInstance.upsertTable1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling TableOperationsApi#upsertTable1");
            e.printStackTrace();
        }
    }
}
TableDto *body = ; // 
String *authorization = authorization_example; //  (optional)

TableOperationsApi *apiInstance = [[TableOperationsApi alloc] init];

// Create or update a table.
[apiInstance upsertTable1With:body
    authorization:authorization
              completionHandler: ^(TableDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.TableOperationsApi()
var body = ; // {{TableDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.upsertTable1(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class upsertTable1Example
    {
        public void main()
        {

            var apiInstance = new TableOperationsApi();
            var body = new TableDto(); // TableDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Create or update a table.
                TableDto result = apiInstance.upsertTable1(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling TableOperationsApi.upsertTable1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiTableOperationsApi();
$body = ; // TableDto | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->upsertTable1($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling TableOperationsApi->upsertTable1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::TableOperationsApi;

my $api_instance = WWW::SwaggerClient::TableOperationsApi->new();
my $body = WWW::SwaggerClient::Object::TableDto->new(); # TableDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->upsertTable1(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling TableOperationsApi->upsertTable1: $@\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.TableOperationsApi()
body =  # TableDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Create or update a table.
    api_response = api_instance.upsert_table1(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TableOperationsApi->upsertTable1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


UDFArtifactOperations

createUdfArtifact

Creates a UDF Artifact.


/api/v1/udfs/artifact

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/artifact"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFArtifactOperationsApi;

import java.io.File;
import java.util.*;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        UdfArtifactDto data = ; // UdfArtifactDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            UdfArtifactDto result = apiInstance.createUdfArtifact(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#createUdfArtifact");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFArtifactOperationsApi;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        UdfArtifactDto data = ; // UdfArtifactDto | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            UdfArtifactDto result = apiInstance.createUdfArtifact(data, file, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#createUdfArtifact");
            e.printStackTrace();
        }
    }
}
UdfArtifactDto *data = ; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

UDFArtifactOperationsApi *apiInstance = [[UDFArtifactOperationsApi alloc] init];

// Creates a UDF Artifact.
[apiInstance createUdfArtifactWith:data
    file:file
    authorization:authorization
              completionHandler: ^(UdfArtifactDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFArtifactOperationsApi()
var opts = { 
  'data':  // {{UdfArtifactDto}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createUdfArtifact(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createUdfArtifactExample
    {
        public void main()
        {

            var apiInstance = new UDFArtifactOperationsApi();
            var data = new UdfArtifactDto(); // UdfArtifactDto |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a UDF Artifact.
                UdfArtifactDto result = apiInstance.createUdfArtifact(data, file, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFArtifactOperationsApi.createUdfArtifact: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFArtifactOperationsApi();
$data = ; // UdfArtifactDto | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->createUdfArtifact($data, $file, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFArtifactOperationsApi->createUdfArtifact: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFArtifactOperationsApi->new();
my $data = ; # UdfArtifactDto | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createUdfArtifact(data => $data, file => $file, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFArtifactOperationsApi->createUdfArtifact: $@\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.UDFArtifactOperationsApi()
data =  # UdfArtifactDto |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Creates a UDF Artifact.
    api_response = api_instance.create_udf_artifact(data=data, file=file, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFArtifactOperationsApi->createUdfArtifact: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
data
UdfArtifactDto
file
byte[] (binary)

Responses

Status: 400 - Invalid request format.

Status: 200 - The UDF Artifact was successfully created.

Status: 500 - Unexpected server error.


deleteUdfArtifactById

Deletes a UDF Artifact by ID.


/api/v1/udfs/artifact/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/artifact/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFArtifactOperationsApi;

import java.io.File;
import java.util.*;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdfArtifactById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#deleteUdfArtifactById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFArtifactOperationsApi;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdfArtifactById(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#deleteUdfArtifactById");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

UDFArtifactOperationsApi *apiInstance = [[UDFArtifactOperationsApi alloc] init];

// Deletes a UDF Artifact by ID.
[apiInstance deleteUdfArtifactByIdWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFArtifactOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUdfArtifactById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteUdfArtifactByIdExample
    {
        public void main()
        {

            var apiInstance = new UDFArtifactOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a UDF Artifact by ID.
                apiInstance.deleteUdfArtifactById(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFArtifactOperationsApi.deleteUdfArtifactById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFArtifactOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteUdfArtifactById($id, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UDFArtifactOperationsApi->deleteUdfArtifactById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFArtifactOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteUdfArtifactById(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UDFArtifactOperationsApi->deleteUdfArtifactById: $@\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.UDFArtifactOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a UDF Artifact by ID.
    api_instance.delete_udf_artifact_by_id(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling UDFArtifactOperationsApi->deleteUdfArtifactById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteUdfArtifactByType

Deletes a UDF Artifact by Type.


/api/v1/udfs/artifact/type/{type}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/artifact/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFArtifactOperationsApi;

import java.io.File;
import java.util.*;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdfArtifactByType(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#deleteUdfArtifactByType");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFArtifactOperationsApi;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdfArtifactByType(type, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#deleteUdfArtifactByType");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

UDFArtifactOperationsApi *apiInstance = [[UDFArtifactOperationsApi alloc] init];

// Deletes a UDF Artifact by Type.
[apiInstance deleteUdfArtifactByTypeWith:type
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFArtifactOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUdfArtifactByType(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteUdfArtifactByTypeExample
    {
        public void main()
        {

            var apiInstance = new UDFArtifactOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a UDF Artifact by Type.
                apiInstance.deleteUdfArtifactByType(type, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFArtifactOperationsApi.deleteUdfArtifactByType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFArtifactOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteUdfArtifactByType($type, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UDFArtifactOperationsApi->deleteUdfArtifactByType: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFArtifactOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteUdfArtifactByType(type => $type, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UDFArtifactOperationsApi->deleteUdfArtifactByType: $@\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.UDFArtifactOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a UDF Artifact by Type.
    api_instance.delete_udf_artifact_by_type(type, authorization=authorization)
except ApiException as e:
    print("Exception when calling UDFArtifactOperationsApi->deleteUdfArtifactByType: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Delete operation executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getUdfById1

Retrieves a UDF Artifact by ID.


/api/v1/udfs/artifact/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/artifact/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFArtifactOperationsApi;

import java.io.File;
import java.util.*;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            UdfArtifactDto result = apiInstance.getUdfById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#getUdfById1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFArtifactOperationsApi;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        Integer id = 56; // Integer | 
        String authorization = authorization_example; // String | 
        try {
            UdfArtifactDto result = apiInstance.getUdfById1(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#getUdfById1");
            e.printStackTrace();
        }
    }
}
Integer *id = 56; // 
String *authorization = authorization_example; //  (optional)

UDFArtifactOperationsApi *apiInstance = [[UDFArtifactOperationsApi alloc] init];

// Retrieves a UDF Artifact by ID.
[apiInstance getUdfById1With:id
    authorization:authorization
              completionHandler: ^(UdfArtifactDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFArtifactOperationsApi()
var id = 56; // {{Integer}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUdfById1(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUdfById1Example
    {
        public void main()
        {

            var apiInstance = new UDFArtifactOperationsApi();
            var id = 56;  // Integer | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a UDF Artifact by ID.
                UdfArtifactDto result = apiInstance.getUdfById1(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFArtifactOperationsApi.getUdfById1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFArtifactOperationsApi();
$id = 56; // Integer | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getUdfById1($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFArtifactOperationsApi->getUdfById1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFArtifactOperationsApi->new();
my $id = 56; # Integer | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getUdfById1(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFArtifactOperationsApi->getUdfById1: $@\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.UDFArtifactOperationsApi()
id = 56 # Integer | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a UDF Artifact by ID.
    api_response = api_instance.get_udf_by_id1(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFArtifactOperationsApi->getUdfById1: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Integer (int32)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - A udf artifact matching criteria.

Status: 500 - Unexpected server error.


getUdfByType

Retrieves a UDF Artifact by type.


/api/v1/udfs/artifact/type/{type}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/artifact/type/{type}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFArtifactOperationsApi;

import java.io.File;
import java.util.*;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfArtifactDto result = apiInstance.getUdfByType(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#getUdfByType");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFArtifactOperationsApi;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        String type = type_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfArtifactDto result = apiInstance.getUdfByType(type, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#getUdfByType");
            e.printStackTrace();
        }
    }
}
String *type = type_example; // 
String *authorization = authorization_example; //  (optional)

UDFArtifactOperationsApi *apiInstance = [[UDFArtifactOperationsApi alloc] init];

// Retrieves a UDF Artifact by type.
[apiInstance getUdfByTypeWith:type
    authorization:authorization
              completionHandler: ^(UdfArtifactDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFArtifactOperationsApi()
var type = type_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUdfByType(type, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUdfByTypeExample
    {
        public void main()
        {

            var apiInstance = new UDFArtifactOperationsApi();
            var type = type_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a UDF Artifact by type.
                UdfArtifactDto result = apiInstance.getUdfByType(type, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFArtifactOperationsApi.getUdfByType: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFArtifactOperationsApi();
$type = type_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getUdfByType($type, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFArtifactOperationsApi->getUdfByType: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFArtifactOperationsApi->new();
my $type = type_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getUdfByType(type => $type, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFArtifactOperationsApi->getUdfByType: $@\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.UDFArtifactOperationsApi()
type = type_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a UDF Artifact by type.
    api_response = api_instance.get_udf_by_type(type, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFArtifactOperationsApi->getUdfByType: %s\n" % e)

Parameters

Path parameters
Name Description
type*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request format.

Status: 200 - A udf artifact matching criteria.

Status: 500 - Unexpected server error.


getUdfs

Retrieves all UDF Artifacts.


/api/v1/udfs/artifact

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/artifact"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFArtifactOperationsApi;

import java.io.File;
import java.util.*;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[UdfArtifactDto] result = apiInstance.getUdfs(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#getUdfs");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFArtifactOperationsApi;

public class UDFArtifactOperationsApiExample {

    public static void main(String[] args) {
        UDFArtifactOperationsApi apiInstance = new UDFArtifactOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[UdfArtifactDto] result = apiInstance.getUdfs(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFArtifactOperationsApi#getUdfs");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UDFArtifactOperationsApi *apiInstance = [[UDFArtifactOperationsApi alloc] init];

// Retrieves all UDF Artifacts.
[apiInstance getUdfsWith:authorization
              completionHandler: ^(array[UdfArtifactDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFArtifactOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUdfs(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUdfsExample
    {
        public void main()
        {

            var apiInstance = new UDFArtifactOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all UDF Artifacts.
                array[UdfArtifactDto] result = apiInstance.getUdfs(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFArtifactOperationsApi.getUdfs: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFArtifactOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getUdfs($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFArtifactOperationsApi->getUdfs: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFArtifactOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFArtifactOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getUdfs(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFArtifactOperationsApi->getUdfs: $@\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.UDFArtifactOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all UDF Artifacts.
    api_response = api_instance.get_udfs(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFArtifactOperationsApi->getUdfs: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - A list of udf artifacts.

Status: 500 - Unexpected server error.


UDFOperations

createUdf

Creates a UDF.


/api/v1/udfs

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.createUdf(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#createUdf");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.createUdf(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#createUdf");
            e.printStackTrace();
        }
    }
}
UdfDto *body = ; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Creates a UDF.
[apiInstance createUdfWith:body
    authorization:authorization
              completionHandler: ^(UdfDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var body = ; // {{UdfDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createUdf(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createUdfExample
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var body = new UdfDto(); // UdfDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a UDF.
                UdfDto result = apiInstance.createUdf(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.createUdf: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$body = ; // UdfDto | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->createUdf($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->createUdf: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UdfDto->new(); # UdfDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createUdf(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->createUdf: $@\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.UDFOperationsApi()
body =  # UdfDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a UDF.
    api_response = api_instance.create_udf(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->createUdf: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - UDF created successfully.

Status: 500 - Unexpected server error.


createUdfV2

Creates a UDF.


/api/v2/projects/{projectId}/udfs

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/udfs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.createUdfV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#createUdfV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.createUdfV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#createUdfV2");
            e.printStackTrace();
        }
    }
}
UdfDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Creates a UDF.
[apiInstance createUdfV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(UdfDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var body = ; // {{UdfDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.createUdfV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class createUdfV2Example
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var body = new UdfDto(); // UdfDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Creates a UDF.
                UdfDto result = apiInstance.createUdfV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.createUdfV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$body = ; // UdfDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->createUdfV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->createUdfV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UdfDto->new(); # UdfDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->createUdfV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->createUdfV2: $@\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.UDFOperationsApi()
body =  # UdfDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Creates a UDF.
    api_response = api_instance.create_udf_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->createUdfV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - UDF created successfully.

Status: 500 - Unexpected server error.


deleteUdf

Deletes a UDF by its id.


/api/v1/udfs/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdf(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#deleteUdf");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdf(id, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#deleteUdf");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Deletes a UDF by its id.
[apiInstance deleteUdfWith:id
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var id = 789; // {{Long}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUdf(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteUdfExample
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var id = 789;  // Long | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a UDF by its id.
                apiInstance.deleteUdf(id, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.deleteUdf: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$id = 789; // Long | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteUdf($id, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->deleteUdf: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $id = 789; # Long | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteUdf(id => $id, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->deleteUdf: $@\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.UDFOperationsApi()
id = 789 # Long | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a UDF by its id.
    api_instance.delete_udf(id, authorization=authorization)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->deleteUdf: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - UDF deleted successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


deleteUdfV2

Deletes a UDF by its id.


/api/v2/projects/{projectId}/udfs/{id}

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/udfs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdfV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#deleteUdfV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.deleteUdfV2(id, projectId, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#deleteUdfV2");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Deletes a UDF by its id.
[apiInstance deleteUdfV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var id = 789; // {{Long}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteUdfV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class deleteUdfV2Example
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var id = 789;  // Long | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Deletes a UDF by its id.
                apiInstance.deleteUdfV2(id, projectId, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.deleteUdfV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$id = 789; // Long | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $api_instance->deleteUdfV2($id, $projectId, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->deleteUdfV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $id = 789; # Long | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->deleteUdfV2(id => $id, projectId => $projectId, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->deleteUdfV2: $@\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.UDFOperationsApi()
id = 789 # Long | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Deletes a UDF by its id.
    api_instance.delete_udf_v2(id, projectId, authorization=authorization)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->deleteUdfV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - UDF deleted successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getAllUdfForUser

Retrieves all UDFs.


/api/v1/udfs

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[UdfDto] result = apiInstance.getAllUdfForUser(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getAllUdfForUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            array[UdfDto] result = apiInstance.getAllUdfForUser(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getAllUdfForUser");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Retrieves all UDFs.
[apiInstance getAllUdfForUserWith:authorization
              completionHandler: ^(array[UdfDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllUdfForUser(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllUdfForUserExample
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all UDFs.
                array[UdfDto] result = apiInstance.getAllUdfForUser(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.getAllUdfForUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getAllUdfForUser($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->getAllUdfForUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllUdfForUser(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->getAllUdfForUser: $@\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.UDFOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all UDFs.
    api_response = api_instance.get_all_udf_for_user(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->getAllUdfForUser: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getAllUdfsInProjectV2

Retrieves all UDFs in the specified project.


/api/v2/projects/{projectId}/udfs

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/udfs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[UdfDto] result = apiInstance.getAllUdfsInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getAllUdfsInProjectV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            array[UdfDto] result = apiInstance.getAllUdfsInProjectV2(projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getAllUdfsInProjectV2");
            e.printStackTrace();
        }
    }
}
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Retrieves all UDFs in the specified project.
[apiInstance getAllUdfsInProjectV2With:projectId
    authorization:authorization
              completionHandler: ^(array[UdfDto] output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getAllUdfsInProjectV2(projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getAllUdfsInProjectV2Example
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves all UDFs in the specified project.
                array[UdfDto] result = apiInstance.getAllUdfsInProjectV2(projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.getAllUdfsInProjectV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getAllUdfsInProjectV2($projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->getAllUdfsInProjectV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getAllUdfsInProjectV2(projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->getAllUdfsInProjectV2: $@\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.UDFOperationsApi()
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves all UDFs in the specified project.
    api_response = api_instance.get_all_udfs_in_project_v2(projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->getAllUdfsInProjectV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 500 - Unexpected server error.


getUdfById

Retrieves a UDF by its id.


/api/v1/udfs/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.getUdfById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getUdfById");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.getUdfById(id, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getUdfById");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Retrieves a UDF by its id.
[apiInstance getUdfByIdWith:id
    authorization:authorization
              completionHandler: ^(UdfDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var id = 789; // {{Long}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUdfById(id, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUdfByIdExample
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var id = 789;  // Long | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a UDF by its id.
                UdfDto result = apiInstance.getUdfById(id, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.getUdfById: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$id = 789; // Long | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getUdfById($id, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->getUdfById: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $id = 789; # Long | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getUdfById(id => $id, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->getUdfById: $@\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.UDFOperationsApi()
id = 789 # Long | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a UDF by its id.
    api_response = api_instance.get_udf_by_id(id, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->getUdfById: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


getUdfByIdV2

Retrieves a UDF by its id.


/api/v2/projects/{projectId}/udfs/{id}

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/udfs/{id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.getUdfByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getUdfByIdV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        Long id = 789; // Long | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.getUdfByIdV2(id, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#getUdfByIdV2");
            e.printStackTrace();
        }
    }
}
Long *id = 789; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Retrieves a UDF by its id.
[apiInstance getUdfByIdV2With:id
    projectId:projectId
    authorization:authorization
              completionHandler: ^(UdfDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var id = 789; // {{Long}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUdfByIdV2(id, projectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUdfByIdV2Example
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var id = 789;  // Long | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves a UDF by its id.
                UdfDto result = apiInstance.getUdfByIdV2(id, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.getUdfByIdV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$id = 789; // Long | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getUdfByIdV2($id, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->getUdfByIdV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $id = 789; # Long | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getUdfByIdV2(id => $id, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->getUdfByIdV2: $@\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.UDFOperationsApi()
id = 789 # Long | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves a UDF by its id.
    api_response = api_instance.get_udf_by_id_v2(id, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->getUdfByIdV2: %s\n" % e)

Parameters

Path parameters
Name Description
id*
Long (int64)
Required
projectId*
String
Required
Header parameters
Name Description
Authorization
String

Responses

Status: 200 - Query executed successfully.

Status: 400 - Invalid request format.

Status: 500 - Unexpected server error.


testUdf

Runs a UDF.


/api/v1/udfs/run

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs/run"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfRunnerRequest body = ; // UdfRunnerRequest | 
        String authorization = authorization_example; // String | 
        try {
            UdfRunnerResponse result = apiInstance.testUdf(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#testUdf");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfRunnerRequest body = ; // UdfRunnerRequest | 
        String authorization = authorization_example; // String | 
        try {
            UdfRunnerResponse result = apiInstance.testUdf(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#testUdf");
            e.printStackTrace();
        }
    }
}
UdfRunnerRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Runs a UDF.
[apiInstance testUdfWith:body
    authorization:authorization
              completionHandler: ^(UdfRunnerResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var body = ; // {{UdfRunnerRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.testUdf(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class testUdfExample
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var body = new UdfRunnerRequest(); // UdfRunnerRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Runs a UDF.
                UdfRunnerResponse result = apiInstance.testUdf(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.testUdf: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$body = ; // UdfRunnerRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->testUdf($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->testUdf: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UdfRunnerRequest->new(); # UdfRunnerRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->testUdf(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->testUdf: $@\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.UDFOperationsApi()
body =  # UdfRunnerRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Runs a UDF.
    api_response = api_instance.test_udf(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->testUdf: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - UDF was able to run.

Status: 500 - Unexpected server error.


testUdfV2

Runs a UDF.


/api/v2/projects/{projectId}/udfs/run

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/udfs/run"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfRunnerRequest body = ; // UdfRunnerRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfRunnerResponse result = apiInstance.testUdfV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#testUdfV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfRunnerRequest body = ; // UdfRunnerRequest | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfRunnerResponse result = apiInstance.testUdfV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#testUdfV2");
            e.printStackTrace();
        }
    }
}
UdfRunnerRequest *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Runs a UDF.
[apiInstance testUdfV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(UdfRunnerResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var body = ; // {{UdfRunnerRequest}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.testUdfV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class testUdfV2Example
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var body = new UdfRunnerRequest(); // UdfRunnerRequest | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Runs a UDF.
                UdfRunnerResponse result = apiInstance.testUdfV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.testUdfV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$body = ; // UdfRunnerRequest | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->testUdfV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->testUdfV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UdfRunnerRequest->new(); # UdfRunnerRequest | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->testUdfV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->testUdfV2: $@\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.UDFOperationsApi()
body =  # UdfRunnerRequest | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Runs a UDF.
    api_response = api_instance.test_udf_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->testUdfV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - UDF was able to run.

Status: 500 - Unexpected server error.


updateUdf

Updates a UDF.


/api/v1/udfs

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/udfs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.updateUdf(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#updateUdf");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.updateUdf(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#updateUdf");
            e.printStackTrace();
        }
    }
}
UdfDto *body = ; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Updates a UDF.
[apiInstance updateUdfWith:body
    authorization:authorization
              completionHandler: ^(UdfDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var body = ; // {{UdfDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateUdf(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateUdfExample
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var body = new UdfDto(); // UdfDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates a UDF.
                UdfDto result = apiInstance.updateUdf(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.updateUdf: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$body = ; // UdfDto | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateUdf($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->updateUdf: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UdfDto->new(); # UdfDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateUdf(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->updateUdf: $@\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.UDFOperationsApi()
body =  # UdfDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates a UDF.
    api_response = api_instance.update_udf(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->updateUdf: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - UDF updated successfully.

Status: 500 - Unexpected server error.


updateUdfV2

Updates a UDF.


/api/v2/projects/{projectId}/udfs

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/projects/{projectId}/udfs"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UDFOperationsApi;

import java.io.File;
import java.util.*;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.updateUdfV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#updateUdfV2");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UDFOperationsApi;

public class UDFOperationsApiExample {

    public static void main(String[] args) {
        UDFOperationsApi apiInstance = new UDFOperationsApi();
        UdfDto body = ; // UdfDto | 
        String projectId = projectId_example; // String | 
        String authorization = authorization_example; // String | 
        try {
            UdfDto result = apiInstance.updateUdfV2(body, projectId, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UDFOperationsApi#updateUdfV2");
            e.printStackTrace();
        }
    }
}
UdfDto *body = ; // 
String *projectId = projectId_example; // 
String *authorization = authorization_example; //  (optional)

UDFOperationsApi *apiInstance = [[UDFOperationsApi alloc] init];

// Updates a UDF.
[apiInstance updateUdfV2With:body
    projectId:projectId
    authorization:authorization
              completionHandler: ^(UdfDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UDFOperationsApi()
var body = ; // {{UdfDto}} 
var projectId = projectId_example; // {{String}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateUdfV2(bodyprojectId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateUdfV2Example
    {
        public void main()
        {

            var apiInstance = new UDFOperationsApi();
            var body = new UdfDto(); // UdfDto | 
            var projectId = projectId_example;  // String | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates a UDF.
                UdfDto result = apiInstance.updateUdfV2(body, projectId, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UDFOperationsApi.updateUdfV2: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUDFOperationsApi();
$body = ; // UdfDto | 
$projectId = projectId_example; // String | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateUdfV2($body, $projectId, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UDFOperationsApi->updateUdfV2: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UDFOperationsApi;

my $api_instance = WWW::SwaggerClient::UDFOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UdfDto->new(); # UdfDto | 
my $projectId = projectId_example; # String | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateUdfV2(body => $body, projectId => $projectId, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UDFOperationsApi->updateUdfV2: $@\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.UDFOperationsApi()
body =  # UdfDto | 
projectId = projectId_example # String | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates a UDF.
    api_response = api_instance.update_udf_v2(body, projectId, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UDFOperationsApi->updateUdfV2: %s\n" % e)

Parameters

Path parameters
Name Description
projectId*
String
Required
Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 400 - Invalid request format.

Status: 200 - UDF updated successfully.

Status: 500 - Unexpected server error.


UiConfigController

getConfig1


/internal/ui-config

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/internal/ui-config"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UiConfigControllerApi;

import java.io.File;
import java.util.*;

public class UiConfigControllerApiExample {

    public static void main(String[] args) {
        
        UiConfigControllerApi apiInstance = new UiConfigControllerApi();
        String authorization = authorization_example; // String | 
        try {
            UiConfigDto result = apiInstance.getConfig1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UiConfigControllerApi#getConfig1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UiConfigControllerApi;

public class UiConfigControllerApiExample {

    public static void main(String[] args) {
        UiConfigControllerApi apiInstance = new UiConfigControllerApi();
        String authorization = authorization_example; // String | 
        try {
            UiConfigDto result = apiInstance.getConfig1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UiConfigControllerApi#getConfig1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UiConfigControllerApi *apiInstance = [[UiConfigControllerApi alloc] init];

[apiInstance getConfig1With:authorization
              completionHandler: ^(UiConfigDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UiConfigControllerApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getConfig1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getConfig1Example
    {
        public void main()
        {

            var apiInstance = new UiConfigControllerApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                UiConfigDto result = apiInstance.getConfig1(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UiConfigControllerApi.getConfig1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUiConfigControllerApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getConfig1($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UiConfigControllerApi->getConfig1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UiConfigControllerApi;

my $api_instance = WWW::SwaggerClient::UiConfigControllerApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getConfig1(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UiConfigControllerApi->getConfig1: $@\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.UiConfigControllerApi()
authorization = authorization_example # String |  (optional)

try: 
    api_response = api_instance.get_config1(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UiConfigControllerApi->getConfig1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - OK


UserKeytabOperations

generateKeytab

Generates a keytab for the authenticated user with the given credentials.


/api/v1/user/keytab/generate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user/keytab/generate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserKeytabOperationsApi;

import java.io.File;
import java.util.*;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#generateKeytab");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserKeytabOperationsApi;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#generateKeytab");
            e.printStackTrace();
        }
    }
}
GenerateKeytabRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

UserKeytabOperationsApi *apiInstance = [[UserKeytabOperationsApi alloc] init];

// Generates a keytab for the authenticated user with the given credentials.
[apiInstance generateKeytabWith:body
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserKeytabOperationsApi()
var body = ; // {{GenerateKeytabRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.generateKeytab(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class generateKeytabExample
    {
        public void main()
        {

            var apiInstance = new UserKeytabOperationsApi();
            var body = new GenerateKeytabRequest(); // GenerateKeytabRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Generates a keytab for the authenticated user with the given credentials.
                apiInstance.generateKeytab(body, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserKeytabOperationsApi.generateKeytab: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserKeytabOperationsApi();
$body = ; // GenerateKeytabRequest | 
$authorization = authorization_example; // String | 

try {
    $api_instance->generateKeytab($body, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserKeytabOperationsApi->generateKeytab: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserKeytabOperationsApi;

my $api_instance = WWW::SwaggerClient::UserKeytabOperationsApi->new();
my $body = WWW::SwaggerClient::Object::GenerateKeytabRequest->new(); # GenerateKeytabRequest | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->generateKeytab(body => $body, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserKeytabOperationsApi->generateKeytab: $@\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.UserKeytabOperationsApi()
body =  # GenerateKeytabRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Generates a keytab for the authenticated user with the given credentials.
    api_instance.generate_keytab(body, authorization=authorization)
except ApiException as e:
    print("Exception when calling UserKeytabOperationsApi->generateKeytab: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Keytab generated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


generateKeytab1

Generates a keytab for the authenticated user with the given credentials.


/api/v2/user/keytab/generate

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user/keytab/generate"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserKeytabOperationsApi;

import java.io.File;
import java.util.*;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab1(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#generateKeytab1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserKeytabOperationsApi;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        GenerateKeytabRequest body = ; // GenerateKeytabRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.generateKeytab1(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#generateKeytab1");
            e.printStackTrace();
        }
    }
}
GenerateKeytabRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

UserKeytabOperationsApi *apiInstance = [[UserKeytabOperationsApi alloc] init];

// Generates a keytab for the authenticated user with the given credentials.
[apiInstance generateKeytab1With:body
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserKeytabOperationsApi()
var body = ; // {{GenerateKeytabRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.generateKeytab1(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class generateKeytab1Example
    {
        public void main()
        {

            var apiInstance = new UserKeytabOperationsApi();
            var body = new GenerateKeytabRequest(); // GenerateKeytabRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Generates a keytab for the authenticated user with the given credentials.
                apiInstance.generateKeytab1(body, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserKeytabOperationsApi.generateKeytab1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserKeytabOperationsApi();
$body = ; // GenerateKeytabRequest | 
$authorization = authorization_example; // String | 

try {
    $api_instance->generateKeytab1($body, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserKeytabOperationsApi->generateKeytab1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserKeytabOperationsApi;

my $api_instance = WWW::SwaggerClient::UserKeytabOperationsApi->new();
my $body = WWW::SwaggerClient::Object::GenerateKeytabRequest->new(); # GenerateKeytabRequest | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->generateKeytab1(body => $body, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserKeytabOperationsApi->generateKeytab1: $@\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.UserKeytabOperationsApi()
body =  # GenerateKeytabRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Generates a keytab for the authenticated user with the given credentials.
    api_instance.generate_keytab1(body, authorization=authorization)
except ApiException as e:
    print("Exception when calling UserKeytabOperationsApi->generateKeytab1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Keytab generated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


removeKeytab

Removes the keytab file for the authenticated user.


/api/v2/user/keytab

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user/keytab"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserKeytabOperationsApi;

import java.io.File;
import java.util.*;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeKeytab(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#removeKeytab");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserKeytabOperationsApi;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeKeytab(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#removeKeytab");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UserKeytabOperationsApi *apiInstance = [[UserKeytabOperationsApi alloc] init];

// Removes the keytab file for the authenticated user.
[apiInstance removeKeytabWith:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserKeytabOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.removeKeytab(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class removeKeytabExample
    {
        public void main()
        {

            var apiInstance = new UserKeytabOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes the keytab file for the authenticated user.
                apiInstance.removeKeytab(authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserKeytabOperationsApi.removeKeytab: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserKeytabOperationsApi();
$authorization = authorization_example; // String | 

try {
    $api_instance->removeKeytab($authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserKeytabOperationsApi->removeKeytab: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserKeytabOperationsApi;

my $api_instance = WWW::SwaggerClient::UserKeytabOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->removeKeytab(authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserKeytabOperationsApi->removeKeytab: $@\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.UserKeytabOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Removes the keytab file for the authenticated user.
    api_instance.remove_keytab(authorization=authorization)
except ApiException as e:
    print("Exception when calling UserKeytabOperationsApi->removeKeytab: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.

Status: 200 - Keytab removed successfully.


removeKeytab1

Removes the keytab file for the authenticated user.


/api/v1/user/keytab

Usage and SDK Samples

curl -X DELETE\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user/keytab"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserKeytabOperationsApi;

import java.io.File;
import java.util.*;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeKeytab1(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#removeKeytab1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserKeytabOperationsApi;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            apiInstance.removeKeytab1(authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#removeKeytab1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UserKeytabOperationsApi *apiInstance = [[UserKeytabOperationsApi alloc] init];

// Removes the keytab file for the authenticated user.
[apiInstance removeKeytab1With:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserKeytabOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.removeKeytab1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class removeKeytab1Example
    {
        public void main()
        {

            var apiInstance = new UserKeytabOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Removes the keytab file for the authenticated user.
                apiInstance.removeKeytab1(authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserKeytabOperationsApi.removeKeytab1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserKeytabOperationsApi();
$authorization = authorization_example; // String | 

try {
    $api_instance->removeKeytab1($authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserKeytabOperationsApi->removeKeytab1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserKeytabOperationsApi;

my $api_instance = WWW::SwaggerClient::UserKeytabOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->removeKeytab1(authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserKeytabOperationsApi->removeKeytab1: $@\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.UserKeytabOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Removes the keytab file for the authenticated user.
    api_instance.remove_keytab1(authorization=authorization)
except ApiException as e:
    print("Exception when calling UserKeytabOperationsApi->removeKeytab1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.

Status: 200 - Keytab removed successfully.


uploadKeytab

Uploads a keytab file for the authenticated user with the given credentials.


/api/v2/user/keytab/upload

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user/keytab/upload"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserKeytabOperationsApi;

import java.io.File;
import java.util.*;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab(principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#uploadKeytab");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserKeytabOperationsApi;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab(principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#uploadKeytab");
            e.printStackTrace();
        }
    }
}
String *principal = principal_example; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

UserKeytabOperationsApi *apiInstance = [[UserKeytabOperationsApi alloc] init];

// Uploads a keytab file for the authenticated user with the given credentials.
[apiInstance uploadKeytabWith:principal
    file:file
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserKeytabOperationsApi()
var opts = { 
  'principal': principal_example // {{String}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadKeytab(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class uploadKeytabExample
    {
        public void main()
        {

            var apiInstance = new UserKeytabOperationsApi();
            var principal = principal_example;  // String |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Uploads a keytab file for the authenticated user with the given credentials.
                apiInstance.uploadKeytab(principal, file, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserKeytabOperationsApi.uploadKeytab: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserKeytabOperationsApi();
$principal = principal_example; // String | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

try {
    $api_instance->uploadKeytab($principal, $file, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserKeytabOperationsApi->uploadKeytab: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserKeytabOperationsApi;

my $api_instance = WWW::SwaggerClient::UserKeytabOperationsApi->new();
my $principal = principal_example; # String | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->uploadKeytab(principal => $principal, file => $file, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserKeytabOperationsApi->uploadKeytab: $@\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.UserKeytabOperationsApi()
principal = principal_example # String |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Uploads a keytab file for the authenticated user with the given credentials.
    api_instance.upload_keytab(principal=principal, file=file, authorization=authorization)
except ApiException as e:
    print("Exception when calling UserKeytabOperationsApi->uploadKeytab: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
principal
String
file
byte[] (binary)

Responses

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.

Status: 200 - Keytab uploaded successfully.


uploadKeytab1

Uploads a keytab file for the authenticated user with the given credentials.


/api/v1/user/keytab/upload

Usage and SDK Samples

curl -X POST\
-H "Accept: application/json"\
-H "Content-Type: multipart/form-data"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user/keytab/upload"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserKeytabOperationsApi;

import java.io.File;
import java.util.*;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab1(principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#uploadKeytab1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserKeytabOperationsApi;

public class UserKeytabOperationsApiExample {

    public static void main(String[] args) {
        UserKeytabOperationsApi apiInstance = new UserKeytabOperationsApi();
        String principal = principal_example; // String | 
        byte[] file = file_example; // byte[] | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.uploadKeytab1(principal, file, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserKeytabOperationsApi#uploadKeytab1");
            e.printStackTrace();
        }
    }
}
String *principal = principal_example; //  (optional)
byte[] *file = file_example; //  (optional)
String *authorization = authorization_example; //  (optional)

UserKeytabOperationsApi *apiInstance = [[UserKeytabOperationsApi alloc] init];

// Uploads a keytab file for the authenticated user with the given credentials.
[apiInstance uploadKeytab1With:principal
    file:file
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserKeytabOperationsApi()
var opts = { 
  'principal': principal_example // {{String}} 
  'file': file_example // {{byte[]}} 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.uploadKeytab1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class uploadKeytab1Example
    {
        public void main()
        {

            var apiInstance = new UserKeytabOperationsApi();
            var principal = principal_example;  // String |  (optional) 
            var file = file_example;  // byte[] |  (optional) 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Uploads a keytab file for the authenticated user with the given credentials.
                apiInstance.uploadKeytab1(principal, file, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserKeytabOperationsApi.uploadKeytab1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserKeytabOperationsApi();
$principal = principal_example; // String | 
$file = file_example; // byte[] | 
$authorization = authorization_example; // String | 

try {
    $api_instance->uploadKeytab1($principal, $file, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserKeytabOperationsApi->uploadKeytab1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserKeytabOperationsApi;

my $api_instance = WWW::SwaggerClient::UserKeytabOperationsApi->new();
my $principal = principal_example; # String | 
my $file = file_example; # byte[] | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->uploadKeytab1(principal => $principal, file => $file, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserKeytabOperationsApi->uploadKeytab1: $@\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.UserKeytabOperationsApi()
principal = principal_example # String |  (optional)
file = file_example # byte[] |  (optional)
authorization = authorization_example # String |  (optional)

try: 
    # Uploads a keytab file for the authenticated user with the given credentials.
    api_instance.upload_keytab1(principal=principal, file=file, authorization=authorization)
except ApiException as e:
    print("Exception when calling UserKeytabOperationsApi->uploadKeytab1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Form parameters
Name Description
principal
String
file
byte[] (binary)

Responses

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.

Status: 200 - Keytab uploaded successfully.


UserOperations

getCurrentUser

Retrieves the currently authenticated user.


/api/v1/user

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.getCurrentUser(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getCurrentUser");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.getCurrentUser(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getCurrentUser");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Retrieves the currently authenticated user.
[apiInstance getCurrentUserWith:authorization
              completionHandler: ^(UserDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCurrentUser(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCurrentUserExample
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the currently authenticated user.
                UserDto result = apiInstance.getCurrentUser(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.getCurrentUser: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getCurrentUser($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->getCurrentUser: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getCurrentUser(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->getCurrentUser: $@\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.UserOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the currently authenticated user.
    api_response = api_instance.get_current_user(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->getCurrentUser: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - User retrieved successfully.


getCurrentUser1

Retrieves the currently authenticated user.


/api/v2/user

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.getCurrentUser1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getCurrentUser1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.getCurrentUser1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getCurrentUser1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Retrieves the currently authenticated user.
[apiInstance getCurrentUser1With:authorization
              completionHandler: ^(UserDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getCurrentUser1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getCurrentUser1Example
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Retrieves the currently authenticated user.
                UserDto result = apiInstance.getCurrentUser1(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.getCurrentUser1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getCurrentUser1($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->getCurrentUser1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getCurrentUser1(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->getCurrentUser1: $@\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.UserOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Retrieves the currently authenticated user.
    api_response = api_instance.get_current_user1(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->getCurrentUser1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 200 - User retrieved successfully.


getUserSettings

Returns the frontend settings of the currently authenticated user.


/api/v1/user/settings

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user/settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.getUserSettings(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getUserSettings");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.getUserSettings(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getUserSettings");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Returns the frontend settings of the currently authenticated user.
[apiInstance getUserSettingsWith:authorization
              completionHandler: ^(UserSettingsDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserSettings(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUserSettingsExample
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Returns the frontend settings of the currently authenticated user.
                UserSettingsDto result = apiInstance.getUserSettings(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.getUserSettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getUserSettings($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->getUserSettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getUserSettings(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->getUserSettings: $@\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.UserOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Returns the frontend settings of the currently authenticated user.
    api_response = api_instance.get_user_settings(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->getUserSettings: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 500 - Unexpected server error.

Status: 200 - Settings returned successfully.


getUserSettings1

Returns the frontend settings of the currently authenticated user.


/api/v2/user/settings

Usage and SDK Samples

curl -X GET\
-H "Accept: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user/settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.getUserSettings1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getUserSettings1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.getUserSettings1(authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#getUserSettings1");
            e.printStackTrace();
        }
    }
}
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Returns the frontend settings of the currently authenticated user.
[apiInstance getUserSettings1With:authorization
              completionHandler: ^(UserSettingsDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getUserSettings1(opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class getUserSettings1Example
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Returns the frontend settings of the currently authenticated user.
                UserSettingsDto result = apiInstance.getUserSettings1(authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.getUserSettings1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->getUserSettings1($authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->getUserSettings1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->getUserSettings1(authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->getUserSettings1: $@\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.UserOperationsApi()
authorization = authorization_example # String |  (optional)

try: 
    # Returns the frontend settings of the currently authenticated user.
    api_response = api_instance.get_user_settings1(authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->getUserSettings1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String

Responses

Status: 500 - Unexpected server error.

Status: 200 - Settings returned successfully.


updateActiveProject

Updates the active project for the currently authenticated user.


/api/v2/user/project

Usage and SDK Samples

curl -X PATCH\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user/project"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdateProjectRequest body = ; // UpdateProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.updateActiveProject(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateActiveProject");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdateProjectRequest body = ; // UpdateProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.updateActiveProject(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateActiveProject");
            e.printStackTrace();
        }
    }
}
UpdateProjectRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Updates the active project for the currently authenticated user.
[apiInstance updateActiveProjectWith:body
    authorization:authorization
              completionHandler: ^(UserDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var body = ; // {{UpdateProjectRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateActiveProject(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateActiveProjectExample
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var body = new UpdateProjectRequest(); // UpdateProjectRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the active project for the currently authenticated user.
                UserDto result = apiInstance.updateActiveProject(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.updateActiveProject: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$body = ; // UpdateProjectRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateActiveProject($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->updateActiveProject: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UpdateProjectRequest->new(); # UpdateProjectRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateActiveProject(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->updateActiveProject: $@\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.UserOperationsApi()
body =  # UpdateProjectRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the active project for the currently authenticated user.
    api_response = api_instance.update_active_project(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->updateActiveProject: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Active project updated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


updateActiveProject1

Updates the active project for the currently authenticated user.


/api/v1/user/project

Usage and SDK Samples

curl -X PATCH\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user/project"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdateProjectRequest body = ; // UpdateProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.updateActiveProject1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateActiveProject1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdateProjectRequest body = ; // UpdateProjectRequest | 
        String authorization = authorization_example; // String | 
        try {
            UserDto result = apiInstance.updateActiveProject1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateActiveProject1");
            e.printStackTrace();
        }
    }
}
UpdateProjectRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Updates the active project for the currently authenticated user.
[apiInstance updateActiveProject1With:body
    authorization:authorization
              completionHandler: ^(UserDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var body = ; // {{UpdateProjectRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateActiveProject1(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateActiveProject1Example
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var body = new UpdateProjectRequest(); // UpdateProjectRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the active project for the currently authenticated user.
                UserDto result = apiInstance.updateActiveProject1(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.updateActiveProject1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$body = ; // UpdateProjectRequest | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateActiveProject1($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->updateActiveProject1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UpdateProjectRequest->new(); # UpdateProjectRequest | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateActiveProject1(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->updateActiveProject1: $@\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.UserOperationsApi()
body =  # UpdateProjectRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the active project for the currently authenticated user.
    api_response = api_instance.update_active_project1(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->updateActiveProject1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Active project updated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


updateUserPassword

Updates the password for the currently authenticated user.


/api/v1/user/password

Usage and SDK Samples

curl -X PATCH\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user/password"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserPassword");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserPassword");
            e.printStackTrace();
        }
    }
}
UpdatePasswordRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Updates the password for the currently authenticated user.
[apiInstance updateUserPasswordWith:body
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var body = ; // {{UpdatePasswordRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateUserPassword(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateUserPasswordExample
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var body = new UpdatePasswordRequest(); // UpdatePasswordRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the password for the currently authenticated user.
                apiInstance.updateUserPassword(body, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.updateUserPassword: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$body = ; // UpdatePasswordRequest | 
$authorization = authorization_example; // String | 

try {
    $api_instance->updateUserPassword($body, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->updateUserPassword: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UpdatePasswordRequest->new(); # UpdatePasswordRequest | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->updateUserPassword(body => $body, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->updateUserPassword: $@\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.UserOperationsApi()
body =  # UpdatePasswordRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the password for the currently authenticated user.
    api_instance.update_user_password(body, authorization=authorization)
except ApiException as e:
    print("Exception when calling UserOperationsApi->updateUserPassword: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Password updated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


updateUserPassword1

Updates the password for the currently authenticated user.


/api/v2/user/password

Usage and SDK Samples

curl -X PATCH\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user/password"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword1(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserPassword1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        UpdatePasswordRequest body = ; // UpdatePasswordRequest | 
        String authorization = authorization_example; // String | 
        try {
            apiInstance.updateUserPassword1(body, authorization);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserPassword1");
            e.printStackTrace();
        }
    }
}
UpdatePasswordRequest *body = ; // 
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Updates the password for the currently authenticated user.
[apiInstance updateUserPassword1With:body
    authorization:authorization
              completionHandler: ^(NSError* error) {
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var body = ; // {{UpdatePasswordRequest}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateUserPassword1(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateUserPassword1Example
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var body = new UpdatePasswordRequest(); // UpdatePasswordRequest | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the password for the currently authenticated user.
                apiInstance.updateUserPassword1(body, authorization);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.updateUserPassword1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$body = ; // UpdatePasswordRequest | 
$authorization = authorization_example; // String | 

try {
    $api_instance->updateUserPassword1($body, $authorization);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->updateUserPassword1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UpdatePasswordRequest->new(); # UpdatePasswordRequest | 
my $authorization = authorization_example; # String | 

eval { 
    $api_instance->updateUserPassword1(body => $body, authorization => $authorization);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->updateUserPassword1: $@\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.UserOperationsApi()
body =  # UpdatePasswordRequest | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the password for the currently authenticated user.
    api_instance.update_user_password1(body, authorization=authorization)
except ApiException as e:
    print("Exception when calling UserOperationsApi->updateUserPassword1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 200 - Password updated successfully.

Status: 400 - Invalid request.

Status: 500 - Unexpected server error.


updateUserSettings

Updates the frontend settings of the authenticated user.


/api/v1/user/settings

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v1/user/settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        UserSettingsDto body = ; // UserSettingsDto | 
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.updateUserSettings(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserSettings");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        UserSettingsDto body = ; // UserSettingsDto | 
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.updateUserSettings(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserSettings");
            e.printStackTrace();
        }
    }
}
UserSettingsDto *body = ; // 
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Updates the frontend settings of the authenticated user.
[apiInstance updateUserSettingsWith:body
    authorization:authorization
              completionHandler: ^(UserSettingsDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var body = ; // {{UserSettingsDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateUserSettings(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateUserSettingsExample
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var body = new UserSettingsDto(); // UserSettingsDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the frontend settings of the authenticated user.
                UserSettingsDto result = apiInstance.updateUserSettings(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.updateUserSettings: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$body = ; // UserSettingsDto | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateUserSettings($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->updateUserSettings: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UserSettingsDto->new(); # UserSettingsDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateUserSettings(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->updateUserSettings: $@\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.UserOperationsApi()
body =  # UserSettingsDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the frontend settings of the authenticated user.
    api_response = api_instance.update_user_settings(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->updateUserSettings: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Settings updated successfully.


updateUserSettings1

Updates the frontend settings of the authenticated user.


/api/v2/user/settings

Usage and SDK Samples

curl -X PUT\
-H "Accept: application/json"\
-H "Content-Type: application/json"\
"https://csa110x-sec-1.csa110x-sec.root.hwx.site:18121/api/v2/user/settings"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.UserOperationsApi;

import java.io.File;
import java.util.*;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        
        UserOperationsApi apiInstance = new UserOperationsApi();
        UserSettingsDto body = ; // UserSettingsDto | 
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.updateUserSettings1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserSettings1");
            e.printStackTrace();
        }
    }
}
import io.swagger.client.api.UserOperationsApi;

public class UserOperationsApiExample {

    public static void main(String[] args) {
        UserOperationsApi apiInstance = new UserOperationsApi();
        UserSettingsDto body = ; // UserSettingsDto | 
        String authorization = authorization_example; // String | 
        try {
            UserSettingsDto result = apiInstance.updateUserSettings1(body, authorization);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling UserOperationsApi#updateUserSettings1");
            e.printStackTrace();
        }
    }
}
UserSettingsDto *body = ; // 
String *authorization = authorization_example; //  (optional)

UserOperationsApi *apiInstance = [[UserOperationsApi alloc] init];

// Updates the frontend settings of the authenticated user.
[apiInstance updateUserSettings1With:body
    authorization:authorization
              completionHandler: ^(UserSettingsDto output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var StreamingSqlEngineApi = require('streaming_sql_engine_api');

var api = new StreamingSqlEngineApi.UserOperationsApi()
var body = ; // {{UserSettingsDto}} 
var opts = { 
  'authorization': authorization_example // {{String}} 
};
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.updateUserSettings1(body, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;

namespace Example
{
    public class updateUserSettings1Example
    {
        public void main()
        {

            var apiInstance = new UserOperationsApi();
            var body = new UserSettingsDto(); // UserSettingsDto | 
            var authorization = authorization_example;  // String |  (optional) 

            try
            {
                // Updates the frontend settings of the authenticated user.
                UserSettingsDto result = apiInstance.updateUserSettings1(body, authorization);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling UserOperationsApi.updateUserSettings1: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\ApiUserOperationsApi();
$body = ; // UserSettingsDto | 
$authorization = authorization_example; // String | 

try {
    $result = $api_instance->updateUserSettings1($body, $authorization);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling UserOperationsApi->updateUserSettings1: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::UserOperationsApi;

my $api_instance = WWW::SwaggerClient::UserOperationsApi->new();
my $body = WWW::SwaggerClient::Object::UserSettingsDto->new(); # UserSettingsDto | 
my $authorization = authorization_example; # String | 

eval { 
    my $result = $api_instance->updateUserSettings1(body => $body, authorization => $authorization);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling UserOperationsApi->updateUserSettings1: $@\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.UserOperationsApi()
body =  # UserSettingsDto | 
authorization = authorization_example # String |  (optional)

try: 
    # Updates the frontend settings of the authenticated user.
    api_response = api_instance.update_user_settings1(body, authorization=authorization)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling UserOperationsApi->updateUserSettings1: %s\n" % e)

Parameters

Header parameters
Name Description
Authorization
String
Body parameters
Name Description
body *

Responses

Status: 500 - Unexpected server error.

Status: 200 - Settings updated successfully.