diff --git a/sdrbase/resources/index.html b/sdrbase/resources/index.html index d7bcb2132..ab48c0131 100644 --- a/sdrbase/resources/index.html +++ b/sdrbase/resources/index.html @@ -1335,6 +1335,18 @@ margin-bottom: 20px; "$ref" : "#/definitions/CWKeyerSettings" } } +}; + defs.PresetExport = { + "properties" : { + "filePath" : { + "type" : "string", + "description" : "Path of the import file" + }, + "preset" : { + "$ref" : "#/definitions/PresetIdentifier" + } + }, + "description" : "Details to export a preset to file" }; defs.PresetGroup = { "required" : [ "groupName", "nbPresets" ], @@ -1378,6 +1390,24 @@ margin-bottom: 20px; } }, "description" : "Settings preset item" +}; + defs.PresetImport = { + "required" : [ "filePath" ], + "properties" : { + "groupName" : { + "type" : "string", + "description" : "If present overrides imported preset group name with this name" + }, + "description" : { + "type" : "string", + "description" : "If present overrides imported preset description with this description" + }, + "filePath" : { + "type" : "string", + "description" : "Path of the import file" + } + }, + "description" : "Details to import preset from file in preset list" }; defs.PresetItem = { "required" : [ "centerFrequency", "name", "type" ], @@ -1618,6 +1648,12 @@ margin-bottom: 20px;
  • instancePresetDelete
  • +
  • + instancePresetFilePost +
  • +
  • + instancePresetFilePut +
  • instancePresetGet
  • @@ -1654,6 +1690,7 @@ margin-bottom: 20px;