CIVIS-project / YouPower

Work repository for development of the CIVIS project
Apache License 2.0
4 stars 6 forks source link

endpoint for retrieving consumption data from a specific appliance #73

Open danielmiorandi opened 9 years ago

danielmiorandi commented 9 years ago

Need an endpoint (e.g., /api/consumption/appliance/:id) for retrieving consumption data about a single appliance. The parameters shall be the same as for the /api/consumption endpoint.

FruitieX commented 9 years ago

Dummy version returning an array of random Numbers implemented here: http://civis.tbm.tudelft.nl/apidoc/#api-Consumption-GetConsumptionApplianceId

taha-k commented 9 years ago

Reply has not yet given an REST call for appliance yet. I have sent him an email for it, but lets see.

danielmiorandi commented 9 years ago

In the dummy version can we have an array with datetime/number pairs, where the number corresponds to the value measured at a given time?