sensebox / openSenseMap

Platform for storing and exploring sensor data
https://opensensemap.org
MIT License
99 stars 51 forks source link

Allow posting of multiple sensor values in a single request #64

Closed hdznrrd closed 8 years ago

hdznrrd commented 8 years ago

As per information I got from Jan the API currently only allows posting a single value per request. Please allow posting of multiple values from different sensors in a single request.

chk1 commented 8 years ago

Added new endpoint /boxes/:boxId/data which allows posting arrays of json data

https://github.com/sensebox/OpenSenseMap-API/blob/master/app.js#L557-L567