mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 15:34:57 -04:00
Web API: renamed /sdrangel/preset GET to /sdrangel/presets GET as this returns the list of presets
This commit is contained in:
@@ -200,10 +200,10 @@ public:
|
||||
}
|
||||
|
||||
/**
|
||||
* Handler of /sdrangel/preset (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
||||
* Handler of /sdrangel/presets (GET) swagger/sdrangel/code/html2/index.html#api-Default-instanceChannels
|
||||
* returns the Http status code (default 501: not implemented)
|
||||
*/
|
||||
virtual int instancePresetGet(
|
||||
virtual int instancePresetsGet(
|
||||
SWGSDRangel::SWGPresets& response __attribute__((unused)),
|
||||
SWGSDRangel::SWGErrorResponse& error)
|
||||
{
|
||||
@@ -502,6 +502,7 @@ public:
|
||||
static QString instanceAudioURL;
|
||||
static QString instanceLocationURL;
|
||||
static QString instanceDVSerialURL;
|
||||
static QString instancePresetsURL;
|
||||
static QString instancePresetURL;
|
||||
static QString instancePresetFileURL;
|
||||
static QString instanceDeviceSetsURL;
|
||||
|
||||
Reference in New Issue
Block a user