@ -14552,9 +14552,6 @@ margin-bottom: 20px;
@@ -14552,9 +14552,6 @@ margin-bottom: 20px;
< li data-group = "DeviceSet" data-name = "devicesetDeviceWorkspacePut" class = "" >
< a href = "#api-DeviceSet-devicesetDeviceWorkspacePut" > devicesetDeviceWorkspacePut< / a >
< / li >
< li data-group = "DeviceSet" data-name = "devicesetFocusPatch" class = "" >
< a href = "#api-DeviceSet-devicesetFocusPatch" > devicesetFocusPatch< / a >
< / li >
< li data-group = "DeviceSet" data-name = "devicesetGet" class = "" >
< a href = "#api-DeviceSet-devicesetGet" > devicesetGet< / a >
< / li >
@ -26686,467 +26683,6 @@ $(document).ready(function() {
@@ -26686,467 +26683,6 @@ $(document).ready(function() {
< / article >
< / div >
< hr >
< div id = "api-DeviceSet-devicesetFocusPatch" >
< article id = "api-DeviceSet-devicesetFocusPatch-0" data-group = "User" data-name = "devicesetFocusPatch" data-version = "0" >
< div class = "pull-left" >
< h1 > devicesetFocusPatch< / h1 >
< p > < / p >
< / div >
< div class = "pull-right" > < / div >
< div class = "clearfix" > < / div >
< p > < / p >
< p class = "marked" > Set focus on device set (GUI only)< / p >
< p > < / p >
< br / >
< pre class = "prettyprint language-html prettyprinted" data-type = "patch" > < code > < span class = "pln" > /sdrangel/deviceset/{deviceSetIndex}/focus< / span > < / code > < / pre >
< p >
< h3 > Usage and SDK Samples< / h3 >
< / p >
< ul class = "nav nav-tabs nav-tabs-examples" >
< li class = "active" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-curl" > Curl< / a > < / li >
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-java" > Java< / a > < / li >
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-android" > Android< / a > < / li >
<!-- <li class=""><a href="#examples - DeviceSet - devicesetFocusPatch - 0 - groovy">Groovy</a></li> -->
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-objc" > Obj-C< / a > < / li >
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-javascript" > JavaScript< / a > < / li >
<!-- <li class=""><a href="#examples - DeviceSet - devicesetFocusPatch - 0 - angular">Angular</a></li> -->
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-csharp" > C#< / a > < / li >
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-php" > PHP< / a > < / li >
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-perl" > Perl< / a > < / li >
< li class = "" > < a href = "#examples-DeviceSet-devicesetFocusPatch-0-python" > Python< / a > < / li >
< / ul >
< div class = "tab-content" >
< div class = "tab-pane active" id = "examples-DeviceSet-devicesetFocusPatch-0-curl" >
< pre class = "prettyprint" > < code class = "language-bsh" > curl -X PATCH "http://localhost/sdrangel/deviceset/{deviceSetIndex}/focus"< / code > < / pre >
< / div >
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-java" >
< pre class = "prettyprint" > < code class = "language-java" > 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();
}
}
}< / code > < / pre >
< / div >
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-android" >
< pre class = "prettyprint" > < code class = "language-java" > 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();
}
}
}< / code > < / pre >
< / div >
<!--
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-groovy" >
< pre class = "prettyprint language-json prettyprinted" data-type = "json" > < code > Coming Soon!< / code > < / pre >
< / div > -->
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-objc" >
< pre class = "prettyprint" > < code class = "language-cpp" > 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);
}
}];
< / code > < / pre >
< / div >
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-javascript" >
< pre class = "prettyprint" > < code class = "language-js" > 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);
< / code > < / pre >
< / div >
<!-- <div class="tab - pane" id="examples - DeviceSet - devicesetFocusPatch - 0 - angular">
< pre class = "prettyprint language-json prettyprinted" data-type = "json" > < code > Coming Soon!< / code > < / pre >
< / div > -->
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-csharp" >
< pre class = "prettyprint" > < code class = "language-cs" > 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 );
}
}
}
}
< / code > < / pre >
< / div >
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-php" >
< pre class = "prettyprint" > < code class = "language-php" > < ? 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;
}
?>< / code > < / pre >
< / div >
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-perl" >
< pre class = "prettyprint" > < code class = "language-perl" > 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";
}< / code > < / pre >
< / div >
< div class = "tab-pane" id = "examples-DeviceSet-devicesetFocusPatch-0-python" >
< pre class = "prettyprint" > < code class = "language-python" > 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)< / code > < / pre >
< / div >
< / div >
< h2 > Parameters< / h2 >
< div class = "methodsubtabletitle" > Path parameters< / div >
< table id = "methodsubtable" >
< tr >
< th width = "150px" > Name< / th >
< th > Description< / th >
< / tr >
< tr > < td style = "width:150px;" > deviceSetIndex*< / td >
< td >
< div id = "d2e199_devicesetFocusPatch_deviceSetIndex" >
< div class = "json-schema-view" >
< div class = "primitive" >
< span class = "type" >
Integer
< / span >
< div class = "inner description" >
Index of device set in the device set list
< / div >
< / div >
< div class = "inner required" >
Required
< / div >
< / div >
< / div >
< / td >
< / tr >
< / table >
< h2 > Responses< / h2 >
< h3 > Status: 202 - Message to focus on device set was sent successfully < / h3 >
< ul class = "nav nav-tabs nav-tabs-examples" >
< li class = "active" >
< a data-toggle = "tab" href = "#responses-devicesetFocusPatch-202-schema" > Schema< / a >
< / li >
< / ul >
< div class = "tab-content" style = 'margin-bottom: 10px;' >
< div class = "tab-pane active" id = "responses-devicesetFocusPatch-202-schema" >
< div id = 'responses-devicesetFocusPatch-202-schema-202' style = "padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;" >
< script >
$(document).ready(function() {
var schemaWrapper = {
"description" : "Message to focus on device set was sent successfully",
"schema" : {
"$ref" : "#/definitions/SuccessResponse"
}
};
var schema = schemaWrapper.schema;
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
console.log(err);
});
}
//console.log(JSON.stringify(schema));
var view = new JSONSchemaView(schema, 3);
$('#responses-devicesetFocusPatch-202-schema-data').val(stringify(schema));
var result = $('#responses-devicesetFocusPatch-202-schema-202');
result.empty();
result.append(view.render());
});
< / script >
< / div >
< input id = 'responses-devicesetFocusPatch-202-schema-data' type = 'hidden' value = '' > < / input >
< / div >
< / div >
< h3 > Status: 400 - Unsupported (srver instance) < / h3 >
< ul class = "nav nav-tabs nav-tabs-examples" >
< li class = "active" >
< a data-toggle = "tab" href = "#responses-devicesetFocusPatch-400-schema" > Schema< / a >
< / li >
< / ul >
< div class = "tab-content" style = 'margin-bottom: 10px;' >
< div class = "tab-pane active" id = "responses-devicesetFocusPatch-400-schema" >
< div id = 'responses-devicesetFocusPatch-400-schema-400' style = "padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;" >
< script >
$(document).ready(function() {
var schemaWrapper = {
"description" : "Unsupported (srver instance)",
"schema" : {
"$ref" : "#/definitions/ErrorResponse"
}
};
var schema = schemaWrapper.schema;
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
console.log(err);
});
}
//console.log(JSON.stringify(schema));
var view = new JSONSchemaView(schema, 3);
$('#responses-devicesetFocusPatch-400-schema-data').val(stringify(schema));
var result = $('#responses-devicesetFocusPatch-400-schema-400');
result.empty();
result.append(view.render());
});
< / script >
< / div >
< input id = 'responses-devicesetFocusPatch-400-schema-data' type = 'hidden' value = '' > < / input >
< / div >
< / div >
< h3 > Status: 404 - Invalid index < / h3 >
< ul class = "nav nav-tabs nav-tabs-examples" >
< li class = "active" >
< a data-toggle = "tab" href = "#responses-devicesetFocusPatch-404-schema" > Schema< / a >
< / li >
< / ul >
< div class = "tab-content" style = 'margin-bottom: 10px;' >
< div class = "tab-pane active" id = "responses-devicesetFocusPatch-404-schema" >
< div id = 'responses-devicesetFocusPatch-404-schema-404' style = "padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;" >
< script >
$(document).ready(function() {
var schemaWrapper = {
"description" : "Invalid index",
"schema" : {
"$ref" : "#/definitions/ErrorResponse"
}
};
var schema = schemaWrapper.schema;
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
console.log(err);
});
}
//console.log(JSON.stringify(schema));
var view = new JSONSchemaView(schema, 3);
$('#responses-devicesetFocusPatch-404-schema-data').val(stringify(schema));
var result = $('#responses-devicesetFocusPatch-404-schema-404');
result.empty();
result.append(view.render());
});
< / script >
< / div >
< input id = 'responses-devicesetFocusPatch-404-schema-data' type = 'hidden' value = '' > < / input >
< / div >
< / div >
< h3 > Status: 500 - Error < / h3 >
< ul class = "nav nav-tabs nav-tabs-examples" >
< li class = "active" >
< a data-toggle = "tab" href = "#responses-devicesetFocusPatch-500-schema" > Schema< / a >
< / li >
< / ul >
< div class = "tab-content" style = 'margin-bottom: 10px;' >
< div class = "tab-pane active" id = "responses-devicesetFocusPatch-500-schema" >
< div id = 'responses-devicesetFocusPatch-500-schema-500' style = "padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;" >
< script >
$(document).ready(function() {
var schemaWrapper = {
"description" : "Error",
"schema" : {
"$ref" : "#/definitions/ErrorResponse"
}
};
var schema = schemaWrapper.schema;
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
console.log(err);
});
}
//console.log(JSON.stringify(schema));
var view = new JSONSchemaView(schema, 3);
$('#responses-devicesetFocusPatch-500-schema-data').val(stringify(schema));
var result = $('#responses-devicesetFocusPatch-500-schema-500');
result.empty();
result.append(view.render());
});
< / script >
< / div >
< input id = 'responses-devicesetFocusPatch-500-schema-data' type = 'hidden' value = '' > < / input >
< / div >
< / div >
< h3 > Status: 501 - Function not implemented < / h3 >
< ul class = "nav nav-tabs nav-tabs-examples" >
< li class = "active" >
< a data-toggle = "tab" href = "#responses-devicesetFocusPatch-501-schema" > Schema< / a >
< / li >
< / ul >
< div class = "tab-content" style = 'margin-bottom: 10px;' >
< div class = "tab-pane active" id = "responses-devicesetFocusPatch-501-schema" >
< div id = 'responses-devicesetFocusPatch-501-schema-501' style = "padding: 30px; border-left: 1px solid #eee; border-right: 1px solid #eee; border-bottom: 1px solid #eee;" >
< script >
$(document).ready(function() {
var schemaWrapper = {
"description" : "Function not implemented",
"schema" : {
"$ref" : "#/definitions/ErrorResponse"
}
};
var schema = schemaWrapper.schema;
if (schema.$ref != null) {
schema = defsParser.$refs.get(schema.$ref);
} else {
schemaWrapper.definitions = Object.assign({}, defs);
$RefParser.dereference(schemaWrapper).catch(function(err) {
console.log(err);
});
}
//console.log(JSON.stringify(schema));
var view = new JSONSchemaView(schema, 3);
$('#responses-devicesetFocusPatch-501-schema-data').val(stringify(schema));
var result = $('#responses-devicesetFocusPatch-501-schema-501');
result.empty();
result.append(view.render());
});
< / script >
< / div >
< input id = 'responses-devicesetFocusPatch-501-schema-data' type = 'hidden' value = '' > < / input >
< / div >
< / div >
< / article >
< / div >
< hr >
< div id = "api-DeviceSet-devicesetGet" >
< article id = "api-DeviceSet-devicesetGet-0" data-group = "User" data-name = "devicesetGet" data-version = "0" >
< div class = "pull-left" >
@ -60155,7 +59691,7 @@ except ApiException as e:
@@ -60155,7 +59691,7 @@ except ApiException as e:
< / div >
< div id = "generator" >
< div class = "content" >
Generated 2022-05-14T13:17:30.416 +02:00
Generated 2022-05-16T19:55:17.622 +02:00
< / div >
< / div >
< / div >