feature request #4754
Implement webservice to get the date of the last change or to check if there are any changes since a certain date
This can be implemented via the Auditing information.
Input will be a certain date, output boolean value saying if anything has changed since that date (any AuditEvent after this date exists).
see also #4755
#3 Updated by Andreas Kohlbecker over 5 years ago
Is this a requirement for a special service only or a general feature?
Who is the audience for this information, is it for machines only or for humans? I am asking since our REST services naturally already implement the protocol (HTTP header) to communicate this information. Only our persistence layer it not capable of providing correct the last updated timestamp for complex objects.
BTW: the OAI-PMH webservice already implements a similar function.
#4 Updated by Andreas Müller over 5 years ago
It is meant for machines. Good to know about the http and OAI-PMH solutions.
However, most important here is to implement a functionality to really compute the data in persistence/service (probably services as buisness logic is involved to know what data belongs to a certain data unit (e.g. which data belongs to a taxon and defines an update)
#14 Updated by Andreas Kohlbecker 5 months ago
- Private changed from Yes to No
BTW: this is the relevant method in the AbstractOaiPmhController:
eu.etaxonomy.cdm.remote.controller.oaipmh.AbstractOaiPmhController.listRecords(@RequestParam(value="from", required=false) DateTime from, @RequestParam(value="until", required=false) DateTime until, @RequestParam(value="metadataPrefix", required=true) MetadataPrefix metadataPrefix, @RequestParam(value="set", required=false) SetSpec set). Internally it used the