hampelm
A GET to `http://localdata-sensors.herokuapp.com/api/v1/sources/ci4omwt7k0003nm0u92mt03al` should return details (like name, latlng)
#10 · open · 3 comments
A GET to `http://localdata-sensors.herokuapp.com/api/v1/sources/ci4omwt7k0003nm0u92mt03al` should return details (like name, latlng)
We do currently return the `data` field (which has name, email, city for the Sense Your City sources), but the location is actually a property of an entry, not a source, since in theory a source could move around. We could include (possibly just when a flag is present) details from the entries table like the timestamp and location of the last update.
Looks like I was using an outdated ID. This one works: http://localdata-sensors.herokuapp.com/api/v1/sources/ci4x0rtb9000h02tcfa5qov33 Having the last entry could be super handy.
Hi, do you still support it? Seems the API is not working.