No store in Messaging API

Well,

I would suggest to not have such an API. I think an automated trigger is fine but the question of time range value is of importance.

Probably we have a MaxTimeRange value of 1, 6, 12 or 24 hours

And when it subscribes then it can do a time range that is either:

  • from last time we did successful store check for given content topic
  • or MaxTimeRange

Which ever is the smallest value.

We could also decide that by default, it does not do the store query. But instead, you pass an argument on subscribe to retrieve past message.

But again, I would not have an API to manually do a store check.

In this instance, a time range query would be done with MaxTimeRange or a new value DefaultTimeRange < MaxTimeRange.