Skip to content
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

Add support for updatedAfter to metadata queries #68

Open
sosna opened this issue Oct 11, 2018 · 4 comments
Open

Add support for updatedAfter to metadata queries #68

sosna opened this issue Oct 11, 2018 · 4 comments

Comments

@sosna
Copy link
Member

sosna commented Oct 11, 2018

When querying for data, a client has the possibility to indicate that it wants to retrieve what has changed since a certain point in time.

It would be nice to add a similar feature to metadata queries.

The fact that metadata messages do not have the equivalent of a dataset action might be an issue, though.

@sosna sosna added this to the 2019 milestone Oct 11, 2018
@agent96
Copy link

agent96 commented Oct 11, 2018

One thing to think about, does the updatedAfter propegate to the descendants. For example if I query for a Codelist with updatedAfter=2012&references=descendants, teh DSD was not updated since this time, but a codelist used by the DSD was updated after this period, should it return the Codelist?

@sosna
Copy link
Member Author

sosna commented Oct 12, 2018

Good point indeed! It sounds logical to me that updatedAfter applies to anything matching the query. On the other hand, asking for a datastructure resource and then getting a response without any datastructure in it, but only codelists does not seem ideal...

@sosna sosna added this to To do in v2.0.0 Nov 9, 2018
@stratosn
Copy link
Member

stratosn commented Nov 9, 2018

Would this issue potentially include adding such information (i.e. lastUpdated) in the Maintainables?

@sosna sosna removed this from the v2.0.0 milestone Oct 23, 2019
@sosna sosna removed this from To do in v2.0.0 Oct 23, 2019
@sosna
Copy link
Member Author

sosna commented Feb 23, 2022

We might want to rethink the use cases again and see whether existing HTTP features (like conditional GET requests) might be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Change proposed
Development

No branches or pull requests

3 participants