From 4961e25eef636327e516ddd932be25aba8485d54 Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 1 Dec 2023 13:32:58 +0100 Subject: [PATCH] Update config and api data --- _data/config-options.json | 507 +++++++------------------------------- _data/portmaster-api.json | 168 +++++++++++++ 2 files changed, 256 insertions(+), 419 deletions(-) diff --git a/_data/config-options.json b/_data/config-options.json index 24fa792..e69bd8f 100644 --- a/_data/config-options.json +++ b/_data/config-options.json @@ -67,23 +67,6 @@ "safing/portbase:ui:order": 512 } }, - { - "Name": "Enable Network Rating System", - "Key": "core/enableNetworkRating", - "Description": "Enable the Network Rating System, which allows you to configure settings to be active in one environment but not in the other, like allowing sensitive connections at home but not at the public library.\n\nPlease note that this feature will be replaced by a superior and easier to understand system in the future.", - "Help": "", - "Sensitive": false, - "OptType": 4, - "ExpertiseLevel": 1, - "ReleaseLevel": 0, - "RequiresRestart": false, - "DefaultValue": false, - "ValidationRegex": "", - "Annotations": { - "safing/portbase:ui:category": "User Interface", - "safing/portbase:ui:order": 514 - } - }, { "Name": "Process Detection", "Key": "core/enableProcessDetection", @@ -399,34 +382,12 @@ "Description": "Block .onion, .i2p, .loki, .bit, .eth, .888, .bitcoin, .coin, .crypto, .dao, .nft, .wallet, .x, .zil, .bazar, .coin, .emc, .lib, .bbs, .chan, .dyn, .free, .fur, .geek, .glue, .gopher, .indy, .libre, .neo, .null, .o, .oss, .oz, .parody, .pirate, .ku, .te, .ti, .uu. Unofficial domains may pose a security risk. This setting does not affect .onion domains in the Tor Browser.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 1, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Resolving", "safing/portbase:ui:display-hint": "security level", @@ -598,29 +559,12 @@ "Description": "Ignore DNS servers configured in your system or network. This may break domains from your local network.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 1, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 6, - "ValidationRegex": "^(7|6|4)$", - "PossibleValues": [ - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": false, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Servers", "safing/portbase:ui:display-hint": "security level", @@ -667,29 +611,12 @@ "Description": "Never resolve using insecure protocols, ie. plain DNS. This may break certain local DNS services, which always use plain DNS.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 1, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 6, - "ValidationRegex": "^(7|6|4)$", - "PossibleValues": [ - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": false, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Resolving", "safing/portbase:ui:display-hint": "security level", @@ -702,29 +629,12 @@ "Description": "Do not resolve using Multicast DNS. This may break certain Plug and Play devices and services.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 1, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 6, - "ValidationRegex": "^(7|6|4)$", - "PossibleValues": [ - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": false, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Resolving", "safing/portbase:ui:display-hint": "security level", @@ -801,38 +711,17 @@ "Description": "Connections initiated towards your device from the LAN or Internet. This will usually only be the case if you are running a network service or are using peer to peer software. Is stronger than Rules (see below).", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 0, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Connection Types", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 20 + "safing/portbase:ui:order": 20, + "safing/portmaster:settable-per-app": true } }, { @@ -841,38 +730,17 @@ "Description": "Force Block connections from and to the Internet. Is stronger than Rules (see below).", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 0, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 0, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": false, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Network Scope", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 16 + "safing/portbase:ui:order": 16, + "safing/portmaster:settable-per-app": true } }, { @@ -881,38 +749,17 @@ "Description": "Force Block all connections from and to the Local Area Network. Is stronger than Rules (see below).", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 0, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 0, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": false, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Network Scope", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 17 + "safing/portbase:ui:order": 17, + "safing/portmaster:settable-per-app": true } }, { @@ -921,38 +768,17 @@ "Description": "Force Block all internal connections on your own device, ie. localhost. Is stronger than Rules (see below).", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 1, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 0, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": false, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Network Scope", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 18 + "safing/portbase:ui:order": 18, + "safing/portmaster:settable-per-app": true } }, { @@ -961,38 +787,17 @@ "Description": "These are connections that are established directly to an IP address or peer on the Internet without resolving a domain name via DNS first. Is stronger than Rules (see below).", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 0, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 0, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": false, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Connection Types", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 19 + "safing/portbase:ui:order": 19, + "safing/portmaster:settable-per-app": true } }, { @@ -1045,7 +850,8 @@ "Annotations": { "safing/portbase:ui:category": "General", "safing/portbase:ui:display-hint": "one-of", - "safing/portbase:ui:order": 1 + "safing/portbase:ui:order": 1, + "safing/portmaster:settable-per-app": true } }, { @@ -1054,38 +860,17 @@ "Description": "Auto Allow searches for a relation between an app and the destination of a connection - if there is a correlation, the connection will be allowed.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 0, "ReleaseLevel": 1, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Advanced", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 65 + "safing/portbase:ui:order": 65, + "safing/portmaster:settable-per-app": true } }, { @@ -1111,38 +896,17 @@ "Description": "Checks for suspicious domain names and blocks them. This option currently targets domain names generated by malware and DNS data exfiltration channels.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 1, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "DNS Filtering", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 51 + "safing/portbase:ui:order": 51, + "safing/portmaster:settable-per-app": true } }, { @@ -1178,6 +942,7 @@ "safing/portbase:ui:category": "Rules", "safing/portbase:ui:display-hint": "endpoint list", "safing/portbase:ui:order": 32, + "safing/portmaster:settable-per-app": true, "safing/portmaster:ui:endpoint-list:verdict-names": { "+": "Allow", "-": "Block" @@ -1190,38 +955,17 @@ "Description": "Block a domain if a resolved CNAME (alias) is blocked by a rule or filter list.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 1, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "DNS Filtering", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 48 + "safing/portbase:ui:order": 48, + "safing/portmaster:settable-per-app": true } }, { @@ -1230,38 +974,17 @@ "Description": "Additionally block all subdomains of entries in selected filter lists.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 0, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Filter Lists", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 36 + "safing/portbase:ui:order": 36, + "safing/portmaster:settable-per-app": true } }, { @@ -1284,7 +1007,8 @@ "Annotations": { "safing/portbase:ui:category": "Filter Lists", "safing/portbase:ui:display-hint": "filter list", - "safing/portbase:ui:order": 34 + "safing/portbase:ui:order": 34, + "safing/portmaster:settable-per-app": true } }, { @@ -1307,41 +1031,20 @@ { "Name": "Block Secure DNS Bypassing", "Key": "filter/preventBypassing", - "Description": "Prevent apps from bypassing Portmaster's Secure DNS resolver.\nIf disabled, Portmaster might have reduced information to correctly enforce rules and filter lists.\nImportant: Portmaster's firewall itself cannot be bypassed.\n\nCurrent Features: \n- Disable Firefox' internal DNS-over-HTTPs resolver\n- Block direct access to public DNS resolvers\n\nPlease note that DNS bypass attempts might be additionally blocked in the Sytem D there too.", + "Description": "Prevent apps from bypassing Portmaster's Secure DNS resolver.\nIf disabled, Portmaster might have reduced information to correctly enforce rules and filter lists.\nImportant: Portmaster's firewall itself cannot be bypassed.\n\nCurrent Features: \n- Disable Firefox' internal DNS-over-HTTPs resolver\n- Block direct access to public DNS resolvers\n\nPlease note that DNS bypass attempts might be additionally blocked in the System DNS Client App.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 0, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "Advanced", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 64 + "safing/portbase:ui:order": 64, + "safing/portmaster:settable-per-app": true } }, { @@ -1350,38 +1053,17 @@ "Description": "Reject blocked IP addresses directly from the DNS response instead of handing them over to the app and blocking a resulting connection. This settings does not affect privacy and only takes effect when the system resolver is not in use.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 2, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "DNS Filtering", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 50 + "safing/portbase:ui:order": 50, + "safing/portmaster:settable-per-app": true } }, { @@ -1390,38 +1072,17 @@ "Description": "Reject private IP addresses (RFC1918 et al.) from public DNS responses. If the system resolver is in use, the resulting connection will be blocked instead of the DNS request.", "Help": "", "Sensitive": false, - "OptType": 3, + "OptType": 4, "ExpertiseLevel": 2, "ReleaseLevel": 0, "RequiresRestart": false, - "DefaultValue": 7, - "ValidationRegex": "^(0|7|6|4)$", - "PossibleValues": [ - { - "Name": "Off", - "Description": "Setting is always disabled.", - "Value": 0 - }, - { - "Name": "Trusted / Home Network", - "Description": "Setting is always enabled.", - "Value": 7 - }, - { - "Name": "Untrusted / Public Network", - "Description": "Setting is enabled in untrusted and dangerous networks.", - "Value": 6 - }, - { - "Name": "Danger / Hacked Network", - "Description": "Setting is enabled only in dangerous networks.", - "Value": 4 - } - ], + "DefaultValue": true, + "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "DNS Filtering", "safing/portbase:ui:display-hint": "security level", - "safing/portbase:ui:order": 49 + "safing/portbase:ui:order": 49, + "safing/portmaster:settable-per-app": true } }, { @@ -1486,6 +1147,7 @@ "Action": "merge-bottom" } ], + "safing/portmaster:settable-per-app": true, "safing/portmaster:ui:endpoint-list:verdict-names": { "+": "Allow", "-": "Block" @@ -1507,6 +1169,7 @@ "Annotations": { "safing/portbase:ui:category": "General", "safing/portbase:ui:order": 96, + "safing/portmaster:settable-per-app": true, "safing/portmaster:ui:config:requires-feature": "history" } }, @@ -1526,6 +1189,7 @@ "safing/portbase:ui:category": "General", "safing/portbase:ui:order": 97, "safing/portbase:ui:unit": "Days", + "safing/portmaster:settable-per-app": true, "safing/portmaster:ui:config:requires-feature": "history" } }, @@ -1603,6 +1267,7 @@ "Action": "merge-top" } ], + "safing/portmaster:settable-per-app": true, "safing/portmaster:ui:endpoint-list:verdict-names": { "+": "Allow", "-": "Exclude" @@ -1677,7 +1342,8 @@ "Annotations": { "safing/portbase:ui:category": "Routing", "safing/portbase:ui:display-hint": "one-of", - "safing/portbase:ui:order": 144 + "safing/portbase:ui:order": 144, + "safing/portmaster:settable-per-app": true } }, { @@ -1723,6 +1389,7 @@ "Action": "merge-top" } ], + "safing/portmaster:settable-per-app": true, "safing/portmaster:ui:endpoint-list:verdict-names": { "+": "Allow", "-": "Exclude" @@ -1763,6 +1430,7 @@ "safing/portbase:ui:category": "General", "safing/portbase:ui:display-hint": "endpoint list", "safing/portbase:ui:order": 130, + "safing/portmaster:settable-per-app": true, "safing/portmaster:ui:endpoint-list:verdict-names": { "+": "Allow", "-": "Exclude" @@ -1783,7 +1451,8 @@ "ValidationRegex": "", "Annotations": { "safing/portbase:ui:category": "General", - "safing/portbase:ui:order": 129 + "safing/portbase:ui:order": 129, + "safing/portmaster:settable-per-app": true } }, { diff --git a/_data/portmaster-api.json b/_data/portmaster-api.json index a0114a6..27fcf74 100644 --- a/_data/portmaster-api.json +++ b/_data/portmaster-api.json @@ -573,6 +573,174 @@ "Write": 3, "WriteMethod": "POST" }, + { + "Name": "Export App Profile", + "Description": "Exports app fingerprints, settings and metadata in a share-able format.", + "Parameters": [ + { + "Method": "GET", + "Field": "id", + "Value": "", + "Description": "Specify scoped profile ID to export." + } + ], + "Path": "sync/profile/export", + "MimeType": "text/plain", + "Read": 3, + "ReadMethod": "GET", + "Write": 3, + "WriteMethod": "POST" + }, + { + "Name": "Import App Profile", + "Description": "Imports full app profiles, including fingerprints, setting and metadata from the share-able format.", + "Parameters": [ + { + "Method": "POST", + "Field": "allowReplace", + "Value": "", + "Description": "Allow replacing existing profiles." + }, + { + "Method": "POST", + "Field": "validate", + "Value": "", + "Description": "Validate only." + }, + { + "Method": "POST", + "Field": "reset", + "Value": "", + "Description": "Replace all existing settings." + }, + { + "Method": "POST", + "Field": "allowUnknown", + "Value": "", + "Description": "Allow importing of unknown values." + } + ], + "Path": "sync/profile/import", + "MimeType": "application/json", + "Read": 3, + "ReadMethod": "GET", + "Write": 3, + "WriteMethod": "POST" + }, + { + "Name": "Export Settings", + "Description": "Exports settings in a share-able format.", + "Parameters": [ + { + "Method": "GET", + "Field": "from", + "Value": "", + "Description": "Specify where to export from." + }, + { + "Method": "GET", + "Field": "key", + "Value": "", + "Description": "Optionally select a single setting to export. Repeat to export selection." + } + ], + "Path": "sync/settings/export", + "MimeType": "text/plain", + "Read": 3, + "ReadMethod": "GET", + "Write": 3, + "WriteMethod": "POST" + }, + { + "Name": "Import Settings", + "Description": "Imports settings from the share-able format.", + "Parameters": [ + { + "Method": "POST", + "Field": "to", + "Value": "", + "Description": "Specify where to import to." + }, + { + "Method": "POST", + "Field": "validate", + "Value": "", + "Description": "Validate only." + }, + { + "Method": "POST", + "Field": "reset", + "Value": "", + "Description": "Replace all existing settings." + }, + { + "Method": "POST", + "Field": "allowUnknown", + "Value": "", + "Description": "Allow importing of unknown values." + } + ], + "Path": "sync/settings/import", + "MimeType": "application/json", + "Read": 3, + "ReadMethod": "GET", + "Write": 3, + "WriteMethod": "POST" + }, + { + "Name": "Export Single Setting", + "Description": "Exports a single setting in a share-able format.", + "Parameters": [ + { + "Method": "GET", + "Field": "from", + "Value": "", + "Description": "Specify where to export from." + }, + { + "Method": "GET", + "Field": "key", + "Value": "", + "Description": "Specify which settings key to export." + } + ], + "Path": "sync/single-setting/export", + "MimeType": "text/plain", + "Read": 3, + "ReadMethod": "GET", + "Write": 3, + "WriteMethod": "POST" + }, + { + "Name": "Import Single Setting", + "Description": "Imports a single setting from the share-able format.", + "Parameters": [ + { + "Method": "POST", + "Field": "to", + "Value": "", + "Description": "Specify where to import to." + }, + { + "Method": "POST", + "Field": "key", + "Value": "", + "Description": "Specify which setting key to import." + }, + { + "Method": "POST", + "Field": "validate", + "Value": "", + "Description": "Validate only." + } + ], + "Path": "sync/single-setting/import", + "MimeType": "application/json", + "Read": 3, + "ReadMethod": "GET", + "Write": 3, + "WriteMethod": "POST" + }, { "Name": "Reload UI Assets", "Description": "Removes all assets from the cache and reloads the current (possibly updated) version from disk when requested.",