1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-04-06 03:29:12 -04:00

Feature plugins framework: presets REST API sources

This commit is contained in:
f4exb 2020-09-24 05:35:06 +02:00
parent 153429cc7f
commit 8365658599
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,20 @@
FeatureConfig:
description: Represents a FeatureSetPreset::FeatureConfig object
properties:
featureIdURI:
description: Feature type ID in URI form
type: string
config:
$ref: "/doc/swagger/include/FeatureSettings.yaml#/FeatureSettings"
FeatureSetPreset:
description: Represents a Feature Set Preset object
properties:
group:
type: string
description:
type: string
featureConfigs:
type: array
items:
$ref: "/doc/swagger/include/FeatureSetPreset.yaml#/FeatureConfig"

View File

@ -0,0 +1,20 @@
FeatureConfig:
description: Represents a FeatureSetPreset::FeatureConfig object
properties:
featureIdURI:
description: Feature type ID in URI form
type: string
config:
$ref: "http://swgserver:8081/api/swagger/include/FeatureSettings.yaml#/FeatureSettings"
FeatureSetPreset:
description: Represents a Feature Set Preset object
properties:
group:
type: string
description:
type: string
featureConfigs:
type: array
items:
$ref: "http://swgserver:8081/api/swagger/include/FeatureSetPreset.yaml#/FeatureConfig"

View File

@ -2150,6 +2150,8 @@ definitions:
$ref: "http://swgserver:8081/api/swagger/include/Preferences.yaml#/Preferences"
workingPreset:
$ref: "http://swgserver:8081/api/swagger/include/Preset.yaml#/Preset"
workingFeatureSetPreset:
$ref: "http://swgserver:8081/api/swagger/include/FeatureSetPreset.yaml#/FeatureSetPreset"
presets:
type: array
items:
@ -2158,6 +2160,10 @@ definitions:
type: array
items:
$ref: "http://swgserver:8081/api/swagger/include/Command.yaml#/Command"
featuresetpresets:
type: array
items:
$ref: "http://swgserver:8081/api/swagger/include/FeatureSetPreset.yaml#/FeatureSetPreset"
InstanceDevicesResponse:
description: "Summarized information about logical devices from hardware devices attached to this SDRangel instance"