sensor API: rename '/api/<version>/sensor/<sensor_id>'
authorgregor herrmann <gregor@toastfreeware.priv.at>
Tue, 12 Jun 2018 19:39:39 +0000 (21:39 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Tue, 12 Jun 2018 19:39:39 +0000 (21:39 +0200)
commitbd153e1ffc7014a5b11ba3dd42c19e0fdfa739ce
tree86ece7f156c6e804b9f46fd7655217d884465955
parent58fc4774a3ada8e7092c01fc5ea25f1c2c6a9b99
sensor API: rename '/api/<version>/sensor/<sensor_id>'

into '/api/<version>/sensor/id/<sensor_id>' and add
'/api/<version>/sensor/type/<sensor_type>'.

factor out the actual query for both into a function.
web/seepark_web.py