diff --git a/sdrbase/resources/webapi/doc/html2/index.html b/sdrbase/resources/webapi/doc/html2/index.html index b58b5a96e..e764b24ef 100644 --- a/sdrbase/resources/webapi/doc/html2/index.html +++ b/sdrbase/resources/webapi/doc/html2/index.html @@ -5351,12 +5351,8 @@ margin-bottom: 20px; "description" : "Base feature report. Only the feature report corresponding to the feature specified in the featureType field is or should be present." }; defs.FeatureSet = { - "required" : [ "featurecount", "index" ], + "required" : [ "featurecount" ], "properties" : { - "index" : { - "type" : "integer", - "description" : "Index in the list of feature sets opened in this instance" - }, "featurecount" : { "type" : "integer", "description" : "Number of features in the set" @@ -29027,7 +29023,7 @@ except ApiException as e:
apply all settings unconditionally (force)
/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings
+ /sdrangel/featureset/feature/{featureIndex}/settings
curl -X PUT "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings"
+ curl -X PUT "http://localhost/sdrangel/featureset/feature/{featureIndex}/settings"
import SWGSDRangel.*;
@@ -29063,11 +29059,10 @@ public class FeatureSetApiExample {
public static void main(String[] args) {
FeatureSetApi apiInstance = new FeatureSetApi();
- Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
- Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
+ Integer featureIndex = 56; // Integer | Index of the feature in the features list
FeatureSettings body = ; // FeatureSettings | Feature settings to apply
try {
- FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureSetIndex, featureIndex, body);
+ FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureIndex, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FeatureSetApi#featuresetFEatureSettingsPut");
@@ -29084,11 +29079,10 @@ public class FeatureSetApiExample {
public static void main(String[] args) {
FeatureSetApi apiInstance = new FeatureSetApi();
- Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
- Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
+ Integer featureIndex = 56; // Integer | Index of the feature in the features list
FeatureSettings body = ; // FeatureSettings | Feature settings to apply
try {
- FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureSetIndex, featureIndex, body);
+ FeatureSettings result = apiInstance.featuresetFEatureSettingsPut(featureIndex, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FeatureSetApi#featuresetFEatureSettingsPut");
@@ -29102,14 +29096,12 @@ public class FeatureSetApiExample {
Coming Soon!
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
-Integer *featureIndex = 56; // Index of the feature in the features list for this feature set
+ Integer *featureIndex = 56; // Index of the feature in the features list
FeatureSettings *body = ; // Feature settings to apply
FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];
-[apiInstance featuresetFEatureSettingsPutWith:featureSetIndex
- featureIndex:featureIndex
+[apiInstance featuresetFEatureSettingsPutWith:featureIndex
body:body
completionHandler: ^(FeatureSettings output, NSError* error) {
if (output) {
@@ -29127,9 +29119,7 @@ FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];
var api = new SdRangel.FeatureSetApi()
-var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list
-
-var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set
+var featureIndex = 56; // {Integer} Index of the feature in the features list
var body = ; // {FeatureSettings} Feature settings to apply
@@ -29141,7 +29131,7 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.featuresetFEatureSettingsPut(featureSetIndex, featureIndex, body, callback);
+api.featuresetFEatureSettingsPut(featureIndex, body, callback);
/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings
+ /sdrangel/featureset/feature/{featureIndex}/settings
curl -X GET "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings"
+ curl -X GET "http://localhost/sdrangel/featureset/feature/{featureIndex}/settings"
import SWGSDRangel.*;
@@ -33138,10 +32734,9 @@ public class FeatureSetApiExample {
public static void main(String[] args) {
FeatureSetApi apiInstance = new FeatureSetApi();
- Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
- Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
+ Integer featureIndex = 56; // Integer | Index of the feature in the features list
try {
- FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureSetIndex, featureIndex);
+ FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureIndex);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
@@ -33158,10 +32753,9 @@ public class FeatureSetApiExample {
public static void main(String[] args) {
FeatureSetApi apiInstance = new FeatureSetApi();
- Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
- Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
+ Integer featureIndex = 56; // Integer | Index of the feature in the features list
try {
- FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureSetIndex, featureIndex);
+ FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureIndex);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
@@ -33175,13 +32769,11 @@ public class FeatureSetApiExample {
Coming Soon!
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
-Integer *featureIndex = 56; // Index of the feature in the features list for this feature set
+ Integer *featureIndex = 56; // Index of the feature in the features list
FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];
-[apiInstance featuresetFeatureSettingsGetWith:featureSetIndex
- featureIndex:featureIndex
+[apiInstance featuresetFeatureSettingsGetWith:featureIndex
completionHandler: ^(FeatureSettings output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -33198,9 +32790,7 @@ FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];
var api = new SdRangel.FeatureSetApi()
-var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list
-
-var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set
+var featureIndex = 56; // {Integer} Index of the feature in the features list
var callback = function(error, data, response) {
@@ -33210,7 +32800,7 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.featuresetFeatureSettingsGet(featureSetIndex, featureIndex, callback);
+api.featuresetFeatureSettingsGet(featureIndex, callback);
/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings
+ /sdrangel/featureset/feature/{featureIndex}/settings
curl -X GET "http://localhost/sdrangel/featureset/{featureSetIndex}/feature/{featureIndex}/settings"
+ curl -X GET "http://localhost/sdrangel/featureset/feature/{featureIndex}/settings"
import SWGSDRangel.*;
@@ -33138,10 +32734,9 @@ public class FeatureSetApiExample {
public static void main(String[] args) {
FeatureSetApi apiInstance = new FeatureSetApi();
- Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
- Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
+ Integer featureIndex = 56; // Integer | Index of the feature in the features list
try {
- FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureSetIndex, featureIndex);
+ FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureIndex);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
@@ -33158,10 +32753,9 @@ public class FeatureSetApiExample {
public static void main(String[] args) {
FeatureSetApi apiInstance = new FeatureSetApi();
- Integer featureSetIndex = 56; // Integer | Index of feature set in the feature set list
- Integer featureIndex = 56; // Integer | Index of the feature in the features list for this feature set
+ Integer featureIndex = 56; // Integer | Index of the feature in the features list
try {
- FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureSetIndex, featureIndex);
+ FeatureSettings result = apiInstance.featuresetFeatureSettingsGet(featureIndex);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling FeatureSetApi#featuresetFeatureSettingsGet");
@@ -33175,13 +32769,11 @@ public class FeatureSetApiExample {
Coming Soon!
Integer *featureSetIndex = 56; // Index of feature set in the feature set list
-Integer *featureIndex = 56; // Index of the feature in the features list for this feature set
+ Integer *featureIndex = 56; // Index of the feature in the features list
FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];
-[apiInstance featuresetFeatureSettingsGetWith:featureSetIndex
- featureIndex:featureIndex
+[apiInstance featuresetFeatureSettingsGetWith:featureIndex
completionHandler: ^(FeatureSettings output, NSError* error) {
if (output) {
NSLog(@"%@", output);
@@ -33198,9 +32790,7 @@ FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];
var api = new SdRangel.FeatureSetApi()
-var featureSetIndex = 56; // {Integer} Index of feature set in the feature set list
-
-var featureIndex = 56; // {Integer} Index of the feature in the features list for this feature set
+var featureIndex = 56; // {Integer} Index of the feature in the features list
var callback = function(error, data, response) {
@@ -33210,7 +32800,7 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
-api.featuresetFeatureSettingsGet(featureSetIndex, featureIndex, callback);
+api.featuresetFeatureSettingsGet(featureIndex, callback);