Added a sensor/:id endpoint.