SDRangel

DeviceSet

devicesetChannelDelete

delete channel (server only)


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of channel in the channels list
        try {
            ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of channel in the channels list
        try {
            ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelDelete");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of channel in the channels list

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

[apiInstance devicesetChannelDeleteWith:deviceSetIndex
    channelIndex:channelIndex
              completionHandler: ^(ChannelSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of channel in the channels list


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

namespace Example
{
    public class devicesetChannelDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of channel in the channels list

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelDelete(deviceSetIndex, channelIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of channel in the channels list

try {
    $result = $api_instance->devicesetChannelDelete($deviceSetIndex, $channelIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of channel in the channels list

eval { 
    my $result = $api_instance->devicesetChannelDelete(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of channel in the channels list

try: 
    api_response = api_instance.deviceset_channel_delete(deviceSetIndex, channelIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelDelete: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of channel in the channels list
Required

Responses

Status: 200 - On success return deleted channel settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelPost

add a channel


/sdrangel/deviceset/{deviceSetIndex}/channel

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        ChannelSettings body = ; // ChannelSettings | Channel identification (no settings data)
        try {
            SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        ChannelSettings body = ; // ChannelSettings | Channel identification (no settings data)
        try {
            SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
ChannelSettings *body = ; // Channel identification (no settings data)

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

[apiInstance devicesetChannelPostWith:deviceSetIndex
    body:body
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {ChannelSettings} Channel identification (no settings data)


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

namespace Example
{
    public class devicesetChannelPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new ChannelSettings(); // ChannelSettings | Channel identification (no settings data)

            try
            {
                SuccessResponse result = apiInstance.devicesetChannelPost(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // ChannelSettings | Channel identification (no settings data)

try {
    $result = $api_instance->devicesetChannelPost($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel identification (no settings data)

eval { 
    my $result = $api_instance->devicesetChannelPost(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # ChannelSettings | Channel identification (no settings data)

try: 
    api_response = api_instance.deviceset_channel_post(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body *

Responses

Status: 202 - Message to add a channel was sent successfully

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelReportGet

get a channel report


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelReportGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

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

[apiInstance devicesetChannelReportGetWith:deviceSetIndex
    channelIndex:channelIndex
              completionHandler: ^(ChannelReport output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set


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

namespace Example
{
    public class devicesetChannelReportGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set

            try
            {
                ChannelReport result = apiInstance.devicesetChannelReportGet(deviceSetIndex, channelIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelReportGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

try {
    $result = $api_instance->devicesetChannelReportGet($deviceSetIndex, $channelIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelReportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

eval { 
    my $result = $api_instance->devicesetChannelReportGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelReportGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

try: 
    api_response = api_instance.deviceset_channel_report_get(deviceSetIndex, channelIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelReportGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required

Responses

Status: 200 - On success return channel report

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsGet

get a channel settings


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set

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

[apiInstance devicesetChannelSettingsGetWith:deviceSetIndex
    channelIndex:channelIndex
              completionHandler: ^(ChannelSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set


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

namespace Example
{
    public class devicesetChannelSettingsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsGet(deviceSetIndex, channelIndex);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set

try {
    $result = $api_instance->devicesetChannelSettingsGet($deviceSetIndex, $channelIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set

eval { 
    my $result = $api_instance->devicesetChannelSettingsGet(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set

try: 
    api_response = api_instance.deviceset_channel_settings_get(deviceSetIndex, channelIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelSettingsGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required

Responses

Status: 200 - On success return channel settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsPatch

apply settings differentially (no force)


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
ChannelSettings *body = ; // Channel settings to apply

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

[apiInstance devicesetChannelSettingsPatchWith:deviceSetIndex
    channelIndex:channelIndex
    body:body
              completionHandler: ^(ChannelSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

var body = ; // {ChannelSettings} Channel settings to apply


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

namespace Example
{
    public class devicesetChannelSettingsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
            var body = new ChannelSettings(); // ChannelSettings | Channel settings to apply

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPatch(deviceSetIndex, channelIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
$body = ; // ChannelSettings | Channel settings to apply

try {
    $result = $api_instance->devicesetChannelSettingsPatch($deviceSetIndex, $channelIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

eval { 
    my $result = $api_instance->devicesetChannelSettingsPatch(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
body =  # ChannelSettings | Channel settings to apply

try: 
    api_response = api_instance.deviceset_channel_settings_patch(deviceSetIndex, channelIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelSettingsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelSettingsPut

apply all settings unconditionally (force)


/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channel/{channelIndex}/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        Integer channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
        ChannelSettings body = ; // ChannelSettings | Channel settings to apply
        try {
            ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelSettingsPut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
Integer *channelIndex = 56; // Index of the channel in the channels list for this device set
ChannelSettings *body = ; // Channel settings to apply

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

[apiInstance devicesetChannelSettingsPutWith:deviceSetIndex
    channelIndex:channelIndex
    body:body
              completionHandler: ^(ChannelSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var channelIndex = 56; // {Integer} Index of the channel in the channels list for this device set

var body = ; // {ChannelSettings} Channel settings to apply


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

namespace Example
{
    public class devicesetChannelSettingsPutExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var channelIndex = 56;  // Integer | Index of the channel in the channels list for this device set
            var body = new ChannelSettings(); // ChannelSettings | Channel settings to apply

            try
            {
                ChannelSettings result = apiInstance.devicesetChannelSettingsPut(deviceSetIndex, channelIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetChannelSettingsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$channelIndex = 56; // Integer | Index of the channel in the channels list for this device set
$body = ; // ChannelSettings | Channel settings to apply

try {
    $result = $api_instance->devicesetChannelSettingsPut($deviceSetIndex, $channelIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelSettingsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $channelIndex = 56; # Integer | Index of the channel in the channels list for this device set
my $body = SWGSDRangel::Object::ChannelSettings->new(); # ChannelSettings | Channel settings to apply

eval { 
    my $result = $api_instance->devicesetChannelSettingsPut(deviceSetIndex => $deviceSetIndex, channelIndex => $channelIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelSettingsPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
channelIndex = 56 # Integer | Index of the channel in the channels list for this device set
body =  # ChannelSettings | Channel settings to apply

try: 
    api_response = api_instance.deviceset_channel_settings_put(deviceSetIndex, channelIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelSettingsPut: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
channelIndex*
Integer
Index of the channel in the channels list for this device set
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success return channel new settings

Status: 400 - Invalid device set or channel index

Status: 404 - Device or channel not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetChannelsReportGet

get channels report


/sdrangel/deviceset/{deviceSetIndex}/channels/report

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/channels/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelsReportGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            ChannelsDetail result = apiInstance.devicesetChannelsReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetChannelsReportGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetChannelsReportGetWith:deviceSetIndex
              completionHandler: ^(ChannelsDetail output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetChannelsReportGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetChannelsReportGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetChannelsReportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetChannelsReportGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetChannelsReportGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_channels_report_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetChannelsReportGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return channels report information

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDevicePut

Set the device used in the device set


/sdrangel/deviceset/{deviceSetIndex}/device

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
        try {
            DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceListItem body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.
        try {
            DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDevicePut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceListItem *body = ; // Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.

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

[apiInstance devicesetDevicePutWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceListItem output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {DeviceListItem} Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.


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

namespace Example
{
    public class devicesetDevicePutExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceListItem(); // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.

            try
            {
                DeviceListItem result = apiInstance.devicesetDevicePut(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDevicePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.

try {
    $result = $api_instance->devicesetDevicePut($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDevicePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceListItem->new(); # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.

eval { 
    my $result = $api_instance->devicesetDevicePut(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDevicePut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceListItem | Device item to look for. Specify only the fields you want to search for. You must at least specify one among displayedName, hwType or serial. index and nbStreams are ignored. Rx is assumed if tx is not specified.

try: 
    api_response = api_instance.deviceset_device_put(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDevicePut: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body *

Responses

Status: 202 - On successful semdomg of the message it returns the details of the device being set

Status: 400 - Device set and device type mismatch (Rx vs Tx)

Status: 404 - Invalid device set index or device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceReportGet

get the device report


/sdrangel/deviceset/{deviceSetIndex}/device/report

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/report"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceReportGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceReport result = apiInstance.devicesetDeviceReportGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceReportGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetDeviceReportGetWith:deviceSetIndex
              completionHandler: ^(DeviceReport output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetDeviceReportGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetDeviceReportGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceReportGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetDeviceReportGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceReportGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_device_report_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceReportGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return device report

Status: 400 - Invalid device set

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunDelete

stop device


/sdrangel/deviceset/{deviceSetIndex}/device/run

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceState result = apiInstance.devicesetDeviceRunDelete(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunDelete");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetDeviceRunDeleteWith:deviceSetIndex
              completionHandler: ^(DeviceState output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetDeviceRunDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetDeviceRunDelete($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceRunDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetDeviceRunDelete(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_device_run_delete(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceRunDelete: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunGet

get device rune status


/sdrangel/deviceset/{deviceSetIndex}/device/run

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceState result = apiInstance.devicesetDeviceRunGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetDeviceRunGetWith:deviceSetIndex
              completionHandler: ^(DeviceState output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetDeviceRunGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetDeviceRunGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceRunGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetDeviceRunGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_device_run_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceRunGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return current state

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceRunPost

start device


/sdrangel/deviceset/{deviceSetIndex}/device/run

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/run"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceState result = apiInstance.devicesetDeviceRunPost(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceRunPost");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetDeviceRunPostWith:deviceSetIndex
              completionHandler: ^(DeviceState output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetDeviceRunPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetDeviceRunPost($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceRunPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetDeviceRunPost(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceRunPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_device_run_post(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceRunPost: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return state before change

Status: 400 - Invalid device set index

Status: 404 - Device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsGet

Get device settings


/sdrangel/deviceset/{deviceSetIndex}/device/settings

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetDeviceSettingsGetWith:deviceSetIndex
              completionHandler: ^(DeviceSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetDeviceSettingsGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetDeviceSettingsGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetDeviceSettingsGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_device_settings_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSettingsGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success returns current settings values

Status: 404 - Invalid device set index or device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsPatch

Apply settings differentially (no force)


/sdrangel/deviceset/{deviceSetIndex}/device/settings

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Device settings to apply

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

[apiInstance devicesetDeviceSettingsPatchWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {DeviceSettings} Device settings to apply


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

namespace Example
{
    public class devicesetDeviceSettingsPatchExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceSettings(); // DeviceSettings | Device settings to apply

            try
            {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPatch(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceSettings | Device settings to apply

try {
    $result = $api_instance->devicesetDeviceSettingsPatch($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Device settings to apply

eval { 
    my $result = $api_instance->devicesetDeviceSettingsPatch(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceSettings | Device settings to apply

try: 
    api_response = api_instance.deviceset_device_settings_patch(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSettingsPatch: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success returns new settings values

Status: 404 - Invalid device set index or device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetDeviceSettingsPut

Apply all settings unconditionally (force)


/sdrangel/deviceset/{deviceSetIndex}/device/settings

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/deviceset/{deviceSetIndex}/device/settings"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        DeviceSettings body = ; // DeviceSettings | Device settings to apply
        try {
            DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetDeviceSettingsPut");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list
DeviceSettings *body = ; // Device settings to apply

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

[apiInstance devicesetDeviceSettingsPutWith:deviceSetIndex
    body:body
              completionHandler: ^(DeviceSettings output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list

var body = ; // {DeviceSettings} Device settings to apply


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

namespace Example
{
    public class devicesetDeviceSettingsPutExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list
            var body = new DeviceSettings(); // DeviceSettings | Device settings to apply

            try
            {
                DeviceSettings result = apiInstance.devicesetDeviceSettingsPut(deviceSetIndex, body);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling DeviceSetApi.devicesetDeviceSettingsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list
$body = ; // DeviceSettings | Device settings to apply

try {
    $result = $api_instance->devicesetDeviceSettingsPut($deviceSetIndex, $body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list
my $body = SWGSDRangel::Object::DeviceSettings->new(); # DeviceSettings | Device settings to apply

eval { 
    my $result = $api_instance->devicesetDeviceSettingsPut(deviceSetIndex => $deviceSetIndex, body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list
body =  # DeviceSettings | Device settings to apply

try: 
    api_response = api_instance.deviceset_device_settings_put(deviceSetIndex, body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetDeviceSettingsPut: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required
Body parameters
Name Description
body *

Responses

Status: 200 - On success returns new settings values

Status: 404 - Invalid device set index or device not found

Status: 500 - Error

Status: 501 - Function not implemented


devicesetFocusPatch

Set focus on device set (GUI only)


/sdrangel/deviceset/{deviceSetIndex}/focus

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/focus"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            SuccessResponse result = apiInstance.devicesetFocusPatch(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetFocusPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            SuccessResponse result = apiInstance.devicesetFocusPatch(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetFocusPatch");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetFocusPatchWith:deviceSetIndex
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetFocusPatchExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetFocusPatch($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetFocusPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetFocusPatch(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetFocusPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_focus_patch(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetFocusPatch: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 202 - Message to focus on device set was sent successfully

Status: 400 - Unsupported (srver instance)

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


devicesetGet

Get device set information


/sdrangel/deviceset/{deviceSetIndex}

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/deviceset/{deviceSetIndex}"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer deviceSetIndex = 56; // Integer | Index of device set in the device set list
        try {
            DeviceSet result = apiInstance.devicesetGet(deviceSetIndex);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#devicesetGet");
            e.printStackTrace();
        }
    }
}
Integer *deviceSetIndex = 56; // Index of device set in the device set list

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

[apiInstance devicesetGetWith:deviceSetIndex
              completionHandler: ^(DeviceSet output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var deviceSetIndex = 56; // {Integer} Index of device set in the device set list


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

namespace Example
{
    public class devicesetGetExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var deviceSetIndex = 56;  // Integer | Index of device set in the device set list

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$deviceSetIndex = 56; // Integer | Index of device set in the device set list

try {
    $result = $api_instance->devicesetGet($deviceSetIndex);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->devicesetGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $deviceSetIndex = 56; # Integer | Index of device set in the device set list

eval { 
    my $result = $api_instance->devicesetGet(deviceSetIndex => $deviceSetIndex);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->devicesetGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
deviceSetIndex = 56 # Integer | Index of device set in the device set list

try: 
    api_response = api_instance.deviceset_get(deviceSetIndex)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->devicesetGet: %s\n" % e)

Parameters

Path parameters
Name Description
deviceSetIndex*
Integer
Index of device set in the device set list
Required

Responses

Status: 200 - On success return details on the device set

Status: 404 - Invalid index

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetDelete

Remove last device set. The GUI version does not remove the first device.


/sdrangel/deviceset

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/deviceset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        try {
            SuccessResponse result = apiInstance.instanceDeviceSetDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

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

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

[apiInstance instanceDeviceSetDeleteWithCompletionHandler: 
              ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

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

namespace Example
{
    public class instanceDeviceSetDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();

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

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

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

my $api_instance = SWGSDRangel::DeviceSetApi->new();

eval { 
    my $result = $api_instance->instanceDeviceSetDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->instanceDeviceSetDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()

try: 
    api_response = api_instance.instance_device_set_delete()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->instanceDeviceSetDelete: %s\n" % e)

Parameters

Responses

Status: 202 - Message to remove last device set was sent successfully

Status: 404 - No more device sets to be deleted

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetPost

Add (append) a new device set with default values


/sdrangel/deviceset

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/deviceset?tx="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.DeviceSetApi;

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

public class DeviceSetApiExample {

    public static void main(String[] args) {
        
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
        try {
            SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.DeviceSetApi;

public class DeviceSetApiExample {

    public static void main(String[] args) {
        DeviceSetApi apiInstance = new DeviceSetApi();
        Integer tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)
        try {
            SuccessResponse result = apiInstance.instanceDeviceSetPost(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DeviceSetApi#instanceDeviceSetPost");
            e.printStackTrace();
        }
    }
}
Integer *tx = 56; // Set to non zero (true) for a Tx device set (default Rx) (optional)

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

[apiInstance instanceDeviceSetPostWith:tx
              completionHandler: ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.DeviceSetApi()

var opts = { 
  'tx': 56 // {Integer} Set to non zero (true) for a Tx device set (default Rx)
};

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

namespace Example
{
    public class instanceDeviceSetPostExample
    {
        public void main()
        {
            
            var apiInstance = new DeviceSetApi();
            var tx = 56;  // Integer | Set to non zero (true) for a Tx device set (default Rx) (optional) 

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

$api_instance = new Swagger\Client\Api\DeviceSetApi();
$tx = 56; // Integer | Set to non zero (true) for a Tx device set (default Rx)

try {
    $result = $api_instance->instanceDeviceSetPost($tx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DeviceSetApi->instanceDeviceSetPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::DeviceSetApi;

my $api_instance = SWGSDRangel::DeviceSetApi->new();
my $tx = 56; # Integer | Set to non zero (true) for a Tx device set (default Rx)

eval { 
    my $result = $api_instance->instanceDeviceSetPost(tx => $tx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DeviceSetApi->instanceDeviceSetPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.DeviceSetApi()
tx = 56 # Integer | Set to non zero (true) for a Tx device set (default Rx) (optional)

try: 
    api_response = api_instance.instance_device_set_post(tx=tx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DeviceSetApi->instanceDeviceSetPost: %s\n" % e)

Parameters

Query parameters
Name Description
tx
Integer
Set to non zero (true) for a Tx device set (default Rx)

Responses

Status: 202 - Message to add a new device set was sent successfully

Status: 500 - Error

Status: 501 - Function not implemented


Instance

instanceAudioGet

Get audio devices list available to this instance


/sdrangel/audio

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/audio"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            AudioDevices result = apiInstance.instanceAudioGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceAudioGetWithCompletionHandler: 
              ^(AudioDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceAudioGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAudioGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_audio_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputCleanupPatch

Remove registered parameters for devices not in list of available input devices for this instance


/sdrangel/audio/input/cleanup

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/input/cleanup"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAudioInputCleanupPatch();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputCleanupPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceAudioInputCleanupPatchWithCompletionHandler: 
              ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceAudioInputCleanupPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAudioInputCleanupPatch();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputCleanupPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_audio_input_cleanup_patch()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioInputCleanupPatch: %s\n" % e)

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputDelete

Delete audio input device paramaters and return to defaults


/sdrangel/audio/input/parameters

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/audio/input/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputDelete");
            e.printStackTrace();
        }
    }
}
AudioInputDevice *body = ; // Audio input parameters. Index is used to identify the device.

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

[apiInstance instanceAudioInputDeleteWith:body
              completionHandler: ^(AudioInputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioInputDevice} Audio input parameters. Index is used to identify the device.


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

namespace Example
{
    public class instanceAudioInputDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioInputDevice(); // AudioInputDevice | Audio input parameters. Index is used to identify the device.

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device.

try {
    $result = $api_instance->instanceAudioInputDelete($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioInputDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioInputDevice->new(); # AudioInputDevice | Audio input parameters. Index is used to identify the device.

eval { 
    my $result = $api_instance->instanceAudioInputDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device.

try: 
    api_response = api_instance.instance_audio_input_delete(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioInputDelete: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns default parameters.

Status: 404 - Audio input device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioInputPatch

Set audio input device paramaters


/sdrangel/audio/input/parameters

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/input/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioInputDevice body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioInputDevice result = apiInstance.instanceAudioInputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioInputPatch");
            e.printStackTrace();
        }
    }
}
AudioInputDevice *body = ; // Audio input parameters. Index is used to identify the device. Only settable fields are considered.

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

[apiInstance instanceAudioInputPatchWith:body
              completionHandler: ^(AudioInputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioInputDevice} Audio input parameters. Index is used to identify the device. Only settable fields are considered.


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

namespace Example
{
    public class instanceAudioInputPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioInputDevice(); // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

try {
    $result = $api_instance->instanceAudioInputPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioInputPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioInputDevice->new(); # AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

eval { 
    my $result = $api_instance->instanceAudioInputPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioInputPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioInputDevice | Audio input parameters. Index is used to identify the device. Only settable fields are considered.

try: 
    api_response = api_instance.instance_audio_input_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioInputPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns actual data in particular the actual sample rate.

Status: 404 - Audio input device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputCleanupPatch

Remove registered parameters for devices not in list of available output devices for this instance


/sdrangel/audio/output/cleanup

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/output/cleanup"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            SuccessResponse result = apiInstance.instanceAudioOutputCleanupPatch();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputCleanupPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceAudioOutputCleanupPatchWithCompletionHandler: 
              ^(SuccessResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceAudioOutputCleanupPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceAudioOutputCleanupPatch();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_audio_output_cleanup_patch()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioOutputCleanupPatch: %s\n" % e)

Parameters

Responses

Status: 200 - Success.

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputDelete

Delete audio output device paramaters and return to defaults


/sdrangel/audio/output/parameters

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/audio/output/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputDelete");
            e.printStackTrace();
        }
    }
}
AudioOutputDevice *body = ; // Audio output parameters. Index is used to identify the device.

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

[apiInstance instanceAudioOutputDeleteWith:body
              completionHandler: ^(AudioOutputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioOutputDevice} Audio output parameters. Index is used to identify the device.


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

namespace Example
{
    public class instanceAudioOutputDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioOutputDevice(); // AudioOutputDevice | Audio output parameters. Index is used to identify the device.

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device.

try {
    $result = $api_instance->instanceAudioOutputDelete($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioOutputDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioOutputDevice->new(); # AudioOutputDevice | Audio output parameters. Index is used to identify the device.

eval { 
    my $result = $api_instance->instanceAudioOutputDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device.

try: 
    api_response = api_instance.instance_audio_output_delete(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioOutputDelete: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns actual data in particular the actual sample rate.

Status: 404 - Audio output device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceAudioOutputPatch

Set audio output device parameters


/sdrangel/audio/output/parameters

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/audio/output/parameters"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        AudioOutputDevice body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.
        try {
            AudioOutputDevice result = apiInstance.instanceAudioOutputPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceAudioOutputPatch");
            e.printStackTrace();
        }
    }
}
AudioOutputDevice *body = ; // Audio output parameters. Index is used to identify the device. Only settable fields are considered.

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

[apiInstance instanceAudioOutputPatchWith:body
              completionHandler: ^(AudioOutputDevice output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {AudioOutputDevice} Audio output parameters. Index is used to identify the device. Only settable fields are considered.


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

namespace Example
{
    public class instanceAudioOutputPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new AudioOutputDevice(); // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

try {
    $result = $api_instance->instanceAudioOutputPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceAudioOutputPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::AudioOutputDevice->new(); # AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

eval { 
    my $result = $api_instance->instanceAudioOutputPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceAudioOutputPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # AudioOutputDevice | Audio output parameters. Index is used to identify the device. Only settable fields are considered.

try: 
    api_response = api_instance.instance_audio_output_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceAudioOutputPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Success. Returns actual data in particular the actual sample rate.

Status: 404 - Audio output device not found

Status: 500 - Error

Status: 501 - Function not implemented


instanceChannels

Get a list of channel plugins available in this instance


/sdrangel/channels

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/channels?tx="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
        try {
            InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceChannels");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        Integer tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)
        try {
            InstanceChannelsResponse result = apiInstance.instanceChannels(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceChannels");
            e.printStackTrace();
        }
    }
}
Integer *tx = 56; // Set to non zero (true) for Tx channels (default Rx) (optional)

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

[apiInstance instanceChannelsWith:tx
              completionHandler: ^(InstanceChannelsResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var opts = { 
  'tx': 56 // {Integer} Set to non zero (true) for Tx channels (default Rx)
};

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

namespace Example
{
    public class instanceChannelsExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var tx = 56;  // Integer | Set to non zero (true) for Tx channels (default Rx) (optional) 

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx channels (default Rx)

try {
    $result = $api_instance->instanceChannels($tx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceChannels: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx channels (default Rx)

eval { 
    my $result = $api_instance->instanceChannels(tx => $tx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceChannels: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx channels (default Rx) (optional)

try: 
    api_response = api_instance.instance_channels(tx=tx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceChannels: %s\n" % e)

Parameters

Query parameters
Name Description
tx
Integer
Set to non zero (true) for Tx channels (default Rx)

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceDVSerialGet

Get DV serial processing parameters for AMBE frames decoding in digital voice modes


/sdrangel/dvserial

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/dvserial"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            DVSeralDevices result = apiInstance.instanceDVSerialGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDVSerialGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceDVSerialGetWithCompletionHandler: 
              ^(DVSeralDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceDVSerialGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceDVSerialGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDVSerialGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_dv_serial_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDVSerialGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return list of devices or empty list if unset

Status: 500 - Error

Status: 501 - Function not implemented


instanceDVSerialPatch

Set or reset DV serial processing for AMBE frames decoding in digital voice modes


/sdrangel/dvserial

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/dvserial?dvserial="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing
        try {
            DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDVSerialPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        Integer dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing
        try {
            DVSeralDevices result = apiInstance.instanceDVSerialPatch(dvserial);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDVSerialPatch");
            e.printStackTrace();
        }
    }
}
Integer *dvserial = 56; // Set to non zero (true) to set DV serial processing (optional)

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

[apiInstance instanceDVSerialPatchWith:dvserial
              completionHandler: ^(DVSeralDevices output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var opts = { 
  'dvserial': 56 // {Integer} Set to non zero (true) to set DV serial processing
};

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

namespace Example
{
    public class instanceDVSerialPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var dvserial = 56;  // Integer | Set to non zero (true) to set DV serial processing (optional) 

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$dvserial = 56; // Integer | Set to non zero (true) to set DV serial processing

try {
    $result = $api_instance->instanceDVSerialPatch($dvserial);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceDVSerialPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $dvserial = 56; # Integer | Set to non zero (true) to set DV serial processing

eval { 
    my $result = $api_instance->instanceDVSerialPatch(dvserial => $dvserial);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDVSerialPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
dvserial = 56 # Integer | Set to non zero (true) to set DV serial processing (optional)

try: 
    api_response = api_instance.instance_dv_serial_patch(dvserial=dvserial)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDVSerialPatch: %s\n" % e)

Parameters

Query parameters
Name Description
dvserial
Integer
Set to non zero (true) to set DV serial processing

Responses

Status: 200 - On success return list of devices or empty list if unset

Status: 500 - Error

Status: 501 - Function not implemented


instanceDelete

Stop SDRangel instance (server only)


/sdrangel

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceSummaryResponse result = apiInstance.instanceDelete();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceDeleteWithCompletionHandler: 
              ^(InstanceSummaryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceDelete();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_delete()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDelete: %s\n" % e)

Parameters

Responses

Status: 202 - Message to stop the SDRangel instance was sent successfully

Status: 400 - Unsupported (GUI instance)

Status: 500 - Error

Status: 501 - Function not implemented


instanceDeviceSetsGet

Get summary information about device sets opened in the instance


/sdrangel/devicesets

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/devicesets"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            DeviceSetList result = apiInstance.instanceDeviceSetsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDeviceSetsGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceDeviceSetsGetWithCompletionHandler: 
              ^(DeviceSetList output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceDeviceSetsGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceDeviceSetsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDeviceSetsGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_device_sets_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDeviceSetsGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return device set list

Status: 500 - Error

Status: 501 - Function not implemented


instanceDevices

Get a list of sampling devices that can be used to take part in a device set


/sdrangel/devices

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/devices?tx="
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
        try {
            InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDevices");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        Integer tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)
        try {
            InstanceDevicesResponse result = apiInstance.instanceDevices(tx);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceDevices");
            e.printStackTrace();
        }
    }
}
Integer *tx = 56; // Set to non zero (true) for Tx direction (default Rx) (optional)

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

[apiInstance instanceDevicesWith:tx
              completionHandler: ^(InstanceDevicesResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var opts = { 
  'tx': 56 // {Integer} Set to non zero (true) for Tx direction (default Rx)
};

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

namespace Example
{
    public class instanceDevicesExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var tx = 56;  // Integer | Set to non zero (true) for Tx direction (default Rx) (optional) 

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$tx = 56; // Integer | Set to non zero (true) for Tx direction (default Rx)

try {
    $result = $api_instance->instanceDevices($tx);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceDevices: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $tx = 56; # Integer | Set to non zero (true) for Tx direction (default Rx)

eval { 
    my $result = $api_instance->instanceDevices(tx => $tx);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceDevices: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
tx = 56 # Integer | Set to non zero (true) for Tx direction (default Rx) (optional)

try: 
    api_response = api_instance.instance_devices(tx=tx)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceDevices: %s\n" % e)

Parameters

Query parameters
Name Description
tx
Integer
Set to non zero (true) for Tx direction (default Rx)

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceLocationGet

Get instance geolocation information


/sdrangel/location

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/location"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            LocationInformation result = apiInstance.instanceLocationGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceLocationGetWithCompletionHandler: 
              ^(LocationInformation output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceLocationGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceLocationGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLocationGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_location_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLocationGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return location

Status: 500 - Error

Status: 501 - Function not implemented


instanceLocationPut

Set instance geolocation information


/sdrangel/location

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/location"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
        try {
            LocationInformation result = apiInstance.instanceLocationPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        LocationInformation body = ; // LocationInformation | Location of instance in latitude and longitude
        try {
            LocationInformation result = apiInstance.instanceLocationPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLocationPut");
            e.printStackTrace();
        }
    }
}
LocationInformation *body = ; // Location of instance in latitude and longitude

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

[apiInstance instanceLocationPutWith:body
              completionHandler: ^(LocationInformation output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {LocationInformation} Location of instance in latitude and longitude


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

namespace Example
{
    public class instanceLocationPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LocationInformation(); // LocationInformation | Location of instance in latitude and longitude

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LocationInformation | Location of instance in latitude and longitude

try {
    $result = $api_instance->instanceLocationPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLocationPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::LocationInformation->new(); # LocationInformation | Location of instance in latitude and longitude

eval { 
    my $result = $api_instance->instanceLocationPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLocationPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # LocationInformation | Location of instance in latitude and longitude

try: 
    api_response = api_instance.instance_location_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLocationPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return location

Status: 400 - Location invalid

Status: 500 - Error

Status: 501 - Function not implemented


instanceLoggingGet

Get logging information for this instance


/sdrangel/logging

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/logging"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            LoggingInfo result = apiInstance.instanceLoggingGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLoggingGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceLoggingGetWithCompletionHandler: 
              ^(LoggingInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceLoggingGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceLoggingGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLoggingGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_logging_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLoggingGet: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


instanceLoggingPut

Change logging parmeters for this instance


/sdrangel/logging

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/logging"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        LoggingInfo body = ; // LoggingInfo | Logging information
        try {
            LoggingInfo result = apiInstance.instanceLoggingPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLoggingPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        LoggingInfo body = ; // LoggingInfo | Logging information
        try {
            LoggingInfo result = apiInstance.instanceLoggingPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceLoggingPut");
            e.printStackTrace();
        }
    }
}
LoggingInfo *body = ; // Logging information

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

[apiInstance instanceLoggingPutWith:body
              completionHandler: ^(LoggingInfo output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {LoggingInfo} Logging information


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

namespace Example
{
    public class instanceLoggingPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new LoggingInfo(); // LoggingInfo | Logging information

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // LoggingInfo | Logging information

try {
    $result = $api_instance->instanceLoggingPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instanceLoggingPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::LoggingInfo->new(); # LoggingInfo | Logging information

eval { 
    my $result = $api_instance->instanceLoggingPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceLoggingPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # LoggingInfo | Logging information

try: 
    api_response = api_instance.instance_logging_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceLoggingPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - Return new data on success

Status: 400 - Invalid data

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetDelete

Deletes a preset


/sdrangel/preset

Usage and SDK Samples

curl -X DELETE "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetIdentifier body = ; // PresetIdentifier | delete this preset
        try {
            PresetIdentifier result = apiInstance.instancePresetDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetDelete");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetIdentifier body = ; // PresetIdentifier | delete this preset
        try {
            PresetIdentifier result = apiInstance.instancePresetDelete(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetDelete");
            e.printStackTrace();
        }
    }
}
PresetIdentifier *body = ; // delete this preset

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

[apiInstance instancePresetDeleteWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetIdentifier} delete this preset


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

namespace Example
{
    public class instancePresetDeleteExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetIdentifier(); // PresetIdentifier | delete this preset

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetIdentifier | delete this preset

try {
    $result = $api_instance->instancePresetDelete($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetIdentifier->new(); # PresetIdentifier | delete this preset

eval { 
    my $result = $api_instance->instancePresetDelete(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetIdentifier | delete this preset

try: 
    api_response = api_instance.instance_preset_delete(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetDelete: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - Preset not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetFilePost

export a preset to file (server only).


/sdrangel/preset/file

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/preset/file"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetExport body = ; // PresetExport | export details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetExport body = ; // PresetExport | export details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePost");
            e.printStackTrace();
        }
    }
}
PresetExport *body = ; // export details

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

[apiInstance instancePresetFilePostWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetExport} export details


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

namespace Example
{
    public class instancePresetFilePostExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetExport(); // PresetExport | export details

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetExport | export details

try {
    $result = $api_instance->instancePresetFilePost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetFilePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetExport->new(); # PresetExport | export details

eval { 
    my $result = $api_instance->instancePresetFilePost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetFilePost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetExport | export details

try: 
    api_response = api_instance.instance_preset_file_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetFilePost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return preset identification

Status: 400 - Invalid JSON request

Status: 404 - Preset or file path not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetFilePut

import a preset from file as a new preset (server only).


/sdrangel/preset/file

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/preset/file"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetImport body = ; // PresetImport | import details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetImport body = ; // PresetImport | import details
        try {
            PresetIdentifier result = apiInstance.instancePresetFilePut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetFilePut");
            e.printStackTrace();
        }
    }
}
PresetImport *body = ; // import details

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

[apiInstance instancePresetFilePutWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetImport} import details


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

namespace Example
{
    public class instancePresetFilePutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetImport(); // PresetImport | import details

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetImport | import details

try {
    $result = $api_instance->instancePresetFilePut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetFilePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetImport->new(); # PresetImport | import details

eval { 
    my $result = $api_instance->instancePresetFilePut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetFilePut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetImport | import details

try: 
    api_response = api_instance.instance_preset_file_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetFilePut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 200 - On success return preset identification

Status: 400 - Invalid JSON request

Status: 404 - File not found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetGet

List all presets in the instance


/sdrangel/presets

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel/presets"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            Presets result = apiInstance.instancePresetGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetGet");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instancePresetGetWithCompletionHandler: 
              ^(Presets output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instancePresetGetExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instancePresetGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetGet: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_preset_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetGet: %s\n" % e)

Parameters

Responses

Status: 200 - On success return preset list

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPatch

Load a preset in a device set


/sdrangel/preset

Usage and SDK Samples

curl -X PATCH "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
        try {
            PresetIdentifier result = apiInstance.instancePresetPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPatch");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | Load preset settings to the device set
        try {
            PresetIdentifier result = apiInstance.instancePresetPatch(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPatch");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // Load preset settings to the device set

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

[apiInstance instancePresetPatchWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} Load preset settings to the device set


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

namespace Example
{
    public class instancePresetPatchExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | Load preset settings to the device set

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | Load preset settings to the device set

try {
    $result = $api_instance->instancePresetPatch($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | Load preset settings to the device set

eval { 
    my $result = $api_instance->instancePresetPatch(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPatch: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetTransfer | Load preset settings to the device set

try: 
    api_response = api_instance.instance_preset_patch(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetPatch: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request or preset type and device set type mismatch

Status: 404 - No preset or device set found

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPost

Create a new preset from a device set settings. Frequency and type is ignored and taken from the the device set values.


/sdrangel/preset

Usage and SDK Samples

curl -X POST "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPost");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings on a new preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPost(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPost");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // save device set settings on a new preset

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

[apiInstance instancePresetPostWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} save device set settings on a new preset


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

namespace Example
{
    public class instancePresetPostExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | save device set settings on a new preset

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | save device set settings on a new preset

try {
    $result = $api_instance->instancePresetPost($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings on a new preset

eval { 
    my $result = $api_instance->instancePresetPost(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPost: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetTransfer | save device set settings on a new preset

try: 
    api_response = api_instance.instance_preset_post(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetPost: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the created preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - Device set not found

Status: 409 - Preset already exists

Status: 500 - Error

Status: 501 - Function not implemented


instancePresetPut

Update an existing preset with device set settings.


/sdrangel/preset

Usage and SDK Samples

curl -X PUT "http://localhost/sdrangel/preset"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPut");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

    public static void main(String[] args) {
        InstanceApi apiInstance = new InstanceApi();
        PresetTransfer body = ; // PresetTransfer | save device set settings to the preset
        try {
            PresetIdentifier result = apiInstance.instancePresetPut(body);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instancePresetPut");
            e.printStackTrace();
        }
    }
}
PresetTransfer *body = ; // save device set settings to the preset

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

[apiInstance instancePresetPutWith:body
              completionHandler: ^(PresetIdentifier output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

var body = ; // {PresetTransfer} save device set settings to the preset


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

namespace Example
{
    public class instancePresetPutExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();
            var body = new PresetTransfer(); // PresetTransfer | save device set settings to the preset

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

$api_instance = new Swagger\Client\Api\InstanceApi();
$body = ; // PresetTransfer | save device set settings to the preset

try {
    $result = $api_instance->instancePresetPut($body);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling InstanceApi->instancePresetPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use SWGSDRangel::Configuration;
use SWGSDRangel::InstanceApi;

my $api_instance = SWGSDRangel::InstanceApi->new();
my $body = SWGSDRangel::Object::PresetTransfer->new(); # PresetTransfer | save device set settings to the preset

eval { 
    my $result = $api_instance->instancePresetPut(body => $body);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instancePresetPut: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()
body =  # PresetTransfer | save device set settings to the preset

try: 
    api_response = api_instance.instance_preset_put(body)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instancePresetPut: %s\n" % e)

Parameters

Body parameters
Name Description
body *

Responses

Status: 202 - On successful sending of the message the selected preset identification is returned

Status: 400 - Invalid JSON request

Status: 404 - No preset or device set found

Status: 500 - Error

Status: 501 - Function not implemented


instanceSummary

SDRangel instance summary


/sdrangel

Usage and SDK Samples

curl -X GET "http://localhost/sdrangel"
import SWGSDRangel.*;
import SWGSDRangel.auth.*;
import SWGSDRangel.model.*;
import SWGSDRangel.api.InstanceApi;

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

public class InstanceApiExample {

    public static void main(String[] args) {
        
        InstanceApi apiInstance = new InstanceApi();
        try {
            InstanceSummaryResponse result = apiInstance.instanceSummary();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling InstanceApi#instanceSummary");
            e.printStackTrace();
        }
    }
}
import SWGSDRangel.api.InstanceApi;

public class InstanceApiExample {

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

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

[apiInstance instanceSummaryWithCompletionHandler: 
              ^(InstanceSummaryResponse output, NSError* error) {
                            if (output) {
                                NSLog(@"%@", output);
                            }
                            if (error) {
                                NSLog(@"Error: %@", error);
                            }
                        }];
var SdRangel = require('sd_rangel');

var api = new SdRangel.InstanceApi()

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

namespace Example
{
    public class instanceSummaryExample
    {
        public void main()
        {
            
            var apiInstance = new InstanceApi();

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

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

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

my $api_instance = SWGSDRangel::InstanceApi->new();

eval { 
    my $result = $api_instance->instanceSummary();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling InstanceApi->instanceSummary: $@\n";
}
from __future__ import print_statement
import time
import swagger_sdrangel
from swagger_sdrangel.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = swagger_sdrangel.InstanceApi()

try: 
    api_response = api_instance.instance_summary()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling InstanceApi->instanceSummary: %s\n" % e)

Parameters

Responses

Status: 200 - Success

Status: 500 - Error

Status: 501 - Function not implemented


Generated 2018-09-11T14:47:33.212+02:00