[dss-developer] JSON-API changes [WAS: dSS 0.8.0 Release Candidate 3 (0.8.0-rc3) available]
Johannes Winkelmann
johannes.winkelmann at aizo.com
Mon Jul 12 10:49:32 CEST 2010
Hi there,
As mentioned in the announcement mail, there will be some major changes
in the JSON API for the 0.8.0 release. These changes break the JSON API
compatibility to older versions!
The following call parameters have been renamed:
apartment/callScene
apartment/saveScene
apartment/undoScene
apartment/getStructure
zone/callScene
zone/saveScene
zone/undoScene
device/callScene
device/saveScene
device/undoScene
set/callScene
set/saveScene
set/undoScene
sceneNr -> sceneNumber
event/subscribe
event/unsubscribe
event/get
sid -> subscriptionID
structure/zoneAddDevice
devid -> deviceID
structure/removeDevice
devID -> deviceID
sim/switch/pressed
buttonNr -> buttonNumber
The following JSON return values have been renamed:
in JSON retuned by apartment/getCircuits
busid -> busID
in JSON returned by circuit/getEnergyMeterValue
metervalue -> meterValue
in JSON returned by device/getSpec
functionid -> functionID
productid -> productID
revisionid -> revisionID
in JSON returned by all device and zone related calls:
fid -> functionID
productrev -> productRevision
productid -> productID
in JSON returned by metering/getValues:
dsimid -> meterID
Kind regards
The digitalSTROM team
--
Johannes Winkelmann
aizo ag, Switzerland - http://www.aizo.com
More information about the dss-developer
mailing list