Requires the spark-admin:devices-write scope
Set multiple configs on a device with a single HTTP call. Requires the spark-admin:devices-write scope.
Configs are set as key/value pairs in an object. Remember to use apostrophes for the keys too, since they usually contain dots.
Eg:
const configs = { 'Audio.DefaultVolume': 60, 'SystemUnit.TimeZone': 'Africa/Abidjan' };
await integration.xapi.config.setMany(deviceId, configs);
Generated using TypeDoc
Device configurations (xConfigs) are typically permanent settings that are set by admins, such as default volume, wallpapers, digital signage, network settings, security policies etc.
Find and read more about them on roomos.cisco.com.
Scopes required:
spark-admin:devices_read
andspark-admin:devices_write
The module is a wrapper fot for the Device Configurations API.
It is not possible to subscribe to config notifications. Also, unlike device status and events, you do not need to add the specific configs to the manifest.