Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SDK_API::writeSettingsOverride

Merges a portable settings override; reset contains JSON pointers to remove.

Declaration

virtual nlohmann::json writeSettingsOverride(const std::string& scope, const nlohmann::json& patch,
            const nlohmann::json& reset = nlohmann::json::array(), const std::string& project = "", const std::string& revision = "") {
            throw std::runtime_error("Settings helpers are unavailable in this host.");
        }

Parameters

NameDescription
scopeworkspace or project.
patchIntentional settings overrides.
resetJSON pointers to remove from this scope.
projectProject name; empty selects the active project.
revisionOptional revision token to reject stale edits.

Returns

Updated settings snapshot without caller defaults.