-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provider API: Add a "recorded" field to status changes #307
Comments
I don't understand what |
A better naming would be welcome :-) I was thinking a timestamp: the time when the event was recorded, ie. made available through the Provider API. |
Thanks for the clarification! |
some notes from the 5/9 call:
@lionel-panhaleux - sounds like this should move forward into a PR if possible! |
These fields will be optional in 0.3.2 and mandatory in a future version. They reflect the time that the provider made the relevant data available through the API. This commit partially fixes openmobilityfoundation#307, but it's not a complete fix since it doesn't include the ability to query by publication time.
These fields will be optional in 0.3.2 and mandatory in a future version. They reflect the time that the provider made the relevant data available through the API. This commit partially fixes openmobilityfoundation#307, but it's not a complete fix since it doesn't include the ability to query by publication time.
These fields will be optional in 0.3.2 and mandatory in a future version. They reflect the time that the provider made the relevant data available through the API. This commit partially fixes #307, but it's not a complete fix since it doesn't include the ability to query by publication time.
That happened automatically because I referenced this issue in the PR, but y’all might want to reopen this issue to track making the field mandatory and adding the ability to query by it |
I think maybe that is worth creating a new issue to track that under the |
These fields will be optional in 0.3.2 and mandatory in a future version. They reflect the time that the provider made the relevant data available through the API. This commit partially fixes openmobilityfoundation#307, but it's not a complete fix since it doesn't include the ability to query by publication time.
Is your feature request related to a problem? Please describe.
Polling status changes using the timestamp field is unreliable: an event can be recorded late, and ignored by the polling system if it uses the timestamp of the last polled event to fetch new ones.
Describe the solution you'd like
Adding a
recorded
field in the status changes, and a query parameter in thestatus_changes/
endpoint to query the events using this information.Is this a breaking change
Provider
oragency
For which API is this feature being requested:
provider
agency
Describe alternatives you've considered
A global sequence ID seems less natural and would not convey the additional "time of recording" information.
Additional context
The idea has been tested with our partners and is satisfactory. We would love to see it in MDS 0.4
The text was updated successfully, but these errors were encountered: