-
Notifications
You must be signed in to change notification settings - Fork 1
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
indicating information up-to-dateness #43
Comments
Sounds good. I'd add a general section mentioning this optional, but "reserved", field. There are multiple properties of a data item that might be interesting:
Unfortunately, different properties are relevant. |
Why not make it required? Or are you talking about
I certainly agree that we should/could add some optional property for indicating how long an item is valid, but I don't see the necessity to separate the time an item has been created from the time one has been updated. I think the more general approach would just be to assume that the ”newer“ of two objects with the same id would be the more up-to-date. (Example: A feed of |
Because I'd like to avoid to extend the set of required fields beyond what's necessary, in order to keep the barrier to adopting it low.
This sounds like a sensible and intuitive way, but I'm not sure we can fit the semantics of all APIs into this format. |
I understand this argument for fields that are not available in every API, but this is different here, right? |
@derhuerst ping |
1 similar comment
@derhuerst ping |
I think it would make sense to introduce an attribute to FPTF@2 objects that indicates the up-to-dateness of the given information. This would enable us (e.g.) to provide a combination of static and realtime data in FPTF (where more up-to-date information overwrites older information).
Such an attribute could for example be called
asOf
,effective
orupdated
and would contain adate
string. It could also berequired
since this information is basically almost always available, as far as I know?Opinions?
The text was updated successfully, but these errors were encountered: