]> ToastFreeware Gitweb - chrisu/seepark.git/commitdiff
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)
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.


No differences found