Skip to content

settings_save_test

Draft

Tech

Checks if the supplied configuration is valid and returns the devices interpretation of the supplied configuration if it differs from the submitted data. If the returned data are not compatible with config_meta and config_tree of the submitted data, these will also be returned.

If the submitted data contain a validation error an Error object will be returned. The individual violations will be listed in the suberrors attribute.

Note that it is common for both error and result objects to be present in the response.

Params

attribute description
config_data*
Config Data
The configuration data to be validated and interpreted.

Return

attribute description
config_data
Config Data
The configuration data as interpreted by the device.
config_meta
Config Meta@settings_meta
Field metadata for the config_data.
config_tree
Config Tree@settings_tree
Tree view definition for the config_meta and config_data.