There are several ways to do that.
- Add from/to arguments to your existing REST servise, so your client asks for a data within a specified time slice.
- Specifying no arguments yields all data
- Specifying only from yields data starting at from and till now
- Specifying both from and to yields only data acquired between from and to
- Use websockets.
- Log in to post comments