htm-community / hitc

HTM In The Cloud
GNU Affero General Public License v3.0
7 stars 7 forks source link

When pushing data to a model, returns error if data is earlier than last seen time #12

Closed rhyolight closed 8 years ago

rhyolight commented 8 years ago

Depends on #9.

Each model must receive data chronologically. If data is received that occurred before the last known time passed to the model, a 4XX error should be returned immediately and no data should be processed.

This will require persistence, and might best be accomplished after we've established how GET /models/<id> is going to work on the backend (this does not have a spec yet, hence the P4 priority).