2017-11-18 13:34:47 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Copyright (C) 2017 Edouard Griffiths, F4EXB. //
|
|
|
|
// //
|
|
|
|
// Swagger server adapter interface //
|
|
|
|
// //
|
|
|
|
// This program is free software; you can redistribute it and/or modify //
|
|
|
|
// it under the terms of the GNU General Public License as published by //
|
|
|
|
// the Free Software Foundation as version 3 of the License, or //
|
|
|
|
// //
|
|
|
|
// This program is distributed in the hope that it will be useful, //
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
|
|
|
|
// GNU General Public License V3 for more details. //
|
|
|
|
// //
|
|
|
|
// You should have received a copy of the GNU General Public License //
|
|
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>. //
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "webapiadapterinterface.h"
|
|
|
|
|
|
|
|
QString WebAPIAdapterInterface::instanceSummaryURL = "/sdrangel";
|
2017-11-22 12:57:35 -05:00
|
|
|
QString WebAPIAdapterInterface::instanceDevicesURL = "/sdrangel/devices";
|
2017-11-22 19:19:32 -05:00
|
|
|
QString WebAPIAdapterInterface::instanceChannelsURL = "/sdrangel/channels";
|
2017-11-23 12:43:01 -05:00
|
|
|
QString WebAPIAdapterInterface::instanceLoggingURL = "/sdrangel/logging";
|
2017-11-24 02:46:12 -05:00
|
|
|
QString WebAPIAdapterInterface::instanceAudioURL = "/sdrangel/audio";
|
2017-11-24 22:02:11 -05:00
|
|
|
QString WebAPIAdapterInterface::instanceLocationURL = "/sdrangel/location";
|
2017-11-24 22:43:22 -05:00
|
|
|
QString WebAPIAdapterInterface::instanceDVSerialURL = "/sdrangel/dvserial";
|
2017-11-25 05:14:52 -05:00
|
|
|
QString WebAPIAdapterInterface::instancePresetURL = "/sdrangel/preset";
|
2017-11-25 14:14:16 -05:00
|
|
|
QString WebAPIAdapterInterface::instanceDeviceSetsURL = "/sdrangel/devicesets";
|
2017-11-25 18:26:56 -05:00
|
|
|
|
2017-11-26 04:37:39 -05:00
|
|
|
std::regex WebAPIAdapterInterface::devicesetURLRe("^/sdrangel/deviceset/([0-9]{1,2})$");
|
|
|
|
std::regex WebAPIAdapterInterface::devicesetDeviceURLRe("^/sdrangel/deviceset/([0-9]{1,2})/device$");
|
2017-12-06 16:08:34 -05:00
|
|
|
std::regex WebAPIAdapterInterface::devicesetDeviceSettingsURLRe("^/sdrangel/deviceset/([0-9]{1,2})/device/settings$");
|