mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 01:39:05 -05:00
REST API device and channel actions: extension of record action: swagger files
This commit is contained in:
parent
417b48d115
commit
d821c3eb50
@ -56,3 +56,13 @@ AirspyReport:
|
||||
type: array
|
||||
items:
|
||||
$ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/SampleRate"
|
||||
|
||||
AirspyActions:
|
||||
description: Airspy
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
@ -55,3 +55,13 @@ AirspyHFReport:
|
||||
type: array
|
||||
items:
|
||||
$ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/SampleRate"
|
||||
|
||||
AirspyHFActions:
|
||||
description: AirspyHF
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
@ -40,6 +40,16 @@ BladeRF1InputSettings:
|
||||
reverseAPIDeviceIndex:
|
||||
type: integer
|
||||
|
||||
BladeRF1InputActions:
|
||||
description: BladeRF1
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
||||
BladeRF1OutputSettings:
|
||||
description: BladeRF1
|
||||
properties:
|
||||
|
@ -14,5 +14,37 @@ DeviceActions:
|
||||
originatorIndex:
|
||||
description: Optional for reverse API. This is the device set index from where the message comes from.
|
||||
type: integer
|
||||
airspyActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/Airspy.yaml#/AirspyActions"
|
||||
airspyHFActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/AirspyHF.yaml#/AirspyHFActions"
|
||||
bladeRF1InputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/BladeRF1.yaml#/BladeRF1InputActions"
|
||||
fcdProActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/FCDPro.yaml#/FCDProActions"
|
||||
fcdProPlusActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/FCDProPlus.yaml#/FCDProPlusActions"
|
||||
hackRFInputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/HackRF.yaml#/HackRFInputActions"
|
||||
kiwiSDRActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/KiwiSDR.yaml#/KiwiSDRActions"
|
||||
limeSdrInputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/LimeSdr.yaml#/LimeSdrInputActions"
|
||||
localInputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/LocalInput.yaml#/LocalInputActions"
|
||||
perseusActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/Perseus.yaml#/PerseusActions"
|
||||
plutoSdrInputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/PlutoSdr.yaml#/PlutoSdrInputActions"
|
||||
remoteInputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/RemoteInput.yaml#/RemoteInputActions"
|
||||
rtlSdrActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/RtlSdr.yaml#/RtlSdrActions"
|
||||
sdrPlayActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/SDRPlay.yaml#/SDRPlayActions"
|
||||
soapySDRInputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/SoapySDR.yaml#/SoapySDRInputActions"
|
||||
testSourceActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/TestSource.yaml#/TestSourceActions"
|
||||
xtrxInputActions:
|
||||
$ref: "http://localhost:8081/api/swagger/include/Xtrx.yaml#/XtrxInputActions"
|
||||
|
@ -63,3 +63,12 @@ FCDProSettings:
|
||||
reverseAPIDeviceIndex:
|
||||
type: integer
|
||||
|
||||
FCDProActions:
|
||||
description: FCDPro
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
@ -48,3 +48,13 @@ FCDProPlusSettings:
|
||||
type: integer
|
||||
reverseAPIDeviceIndex:
|
||||
type: integer
|
||||
|
||||
FCDProPlusActions:
|
||||
description: FCDProPlus
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
@ -44,6 +44,16 @@ HackRFInputSettings:
|
||||
reverseAPIDeviceIndex:
|
||||
type: integer
|
||||
|
||||
HackRFInputActions:
|
||||
description: HackRF
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
||||
HackRFOutputSettings:
|
||||
description: HackRF
|
||||
properties:
|
||||
@ -81,3 +91,4 @@ HackRFOutputSettings:
|
||||
type: integer
|
||||
reverseAPIDeviceIndex:
|
||||
type: integer
|
||||
|
||||
|
@ -32,3 +32,13 @@ KiwiSDRReport:
|
||||
status:
|
||||
description: 0 for Idle, 1 for Connecting, 2 for Connected, 3 for Error, 4 for Disconnected
|
||||
type: integer
|
||||
|
||||
KiwiSDRActions:
|
||||
description: KiwiSDR
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
@ -150,6 +150,16 @@ LimeSdrInputReport:
|
||||
type: integer
|
||||
format: int8
|
||||
|
||||
LimeSdrInputActions:
|
||||
description: LimeSDR
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
||||
LimeSdrOutputReport:
|
||||
description: LimeSDR
|
||||
properties:
|
||||
@ -185,4 +195,3 @@ LimeSdrOutputReport:
|
||||
gpioPins:
|
||||
type: integer
|
||||
format: int8
|
||||
|
@ -25,3 +25,13 @@ LocalInputReport:
|
||||
format: uint64
|
||||
sampleRate:
|
||||
type: integer
|
||||
|
||||
LocalInputActions:
|
||||
description: LocalInput
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
@ -46,3 +46,13 @@ PerseusReport:
|
||||
type: array
|
||||
items:
|
||||
$ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/SampleRate"
|
||||
|
||||
PerseusActions:
|
||||
description: Perseus
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
@ -132,3 +132,13 @@ PlutoSdrOutputReport:
|
||||
temperature:
|
||||
type: number
|
||||
format: float
|
||||
|
||||
PlutoSdrInputActions:
|
||||
description: PlutoSDR
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
@ -45,3 +45,13 @@ RemoteInputReport:
|
||||
maxNbRecovery:
|
||||
description: Maximum number of recovery blocks used per frame
|
||||
type: integer
|
||||
|
||||
RemoteInputActions:
|
||||
description: RemoteInput
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
@ -64,3 +64,13 @@ SDRPlayReport:
|
||||
type: array
|
||||
items:
|
||||
$ref: "http://localhost:8081/api/swagger/include/Structs.yaml#/FrequencyBand"
|
||||
|
||||
SDRPlayActions:
|
||||
description: SDRplay1
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
@ -245,4 +245,12 @@ definitions:
|
||||
items:
|
||||
type: string
|
||||
|
||||
|
||||
SoapySDRInputActions:
|
||||
description: SoapySDR
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
@ -50,3 +50,12 @@ TestSourceSettings:
|
||||
reverseAPIDeviceIndex:
|
||||
type: integer
|
||||
|
||||
TestSourceActions:
|
||||
description: TestSource
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
@ -81,6 +81,16 @@ XtrxInputReport:
|
||||
description: 1 if GPSDO is locked else 0
|
||||
type: integer
|
||||
|
||||
XtrxInputActions:
|
||||
description: XTRX
|
||||
properties:
|
||||
record:
|
||||
type: integer
|
||||
description: >
|
||||
Record IQ stream action
|
||||
* 0 - stop recording
|
||||
* 1 - start recording
|
||||
|
||||
XtrxOutputSettings:
|
||||
description: XTRX
|
||||
properties:
|
||||
|
Loading…
Reference in New Issue
Block a user