Closed mbjones closed 5 years ago
Original Redmine Comment Author Name: Matt Jones (Matt Jones) Original Date: 2013-12-10T20:10:05Z
Updated description to clarify a few of the reports and filters.
Original Redmine Comment Author Name: ben leinfelder (ben leinfelder) Original Date: 2014-05-20T17:56:31Z
I believe this is now all targeted for the CNs. We may consider moving tasks into the DataONE tracker as appropriate...
Author Name: Matt Jones (Matt Jones) Original Redmine Issue: 5989, https://projects.ecoinformatics.org/ecoinfo/issues/5989
Original Assignee: Peter Slaughter
Currently the only usage stats we have in Metacat are the raw logs. This new service would provide several statistical reports in machine-readable format intended for efficient use on clients for building user interface displays that show those statistics.
The service should include the following response statistics, and be extensible to add other tracked statistics as needed:
For each of these statistics, calling apps should be able to constrain the results to only include records matching:
For each of these statistics, calling apps should be able to request the statistic aggregated by several specific facets, including the following (in order of importance):
Intersections of these aggregated facets should also be possible, but are a lower priority than the facets alone. For example, when finished, one should be able to request the following reports, among others:
The download format (JSON?, XML?) should allow for an extended set of response variables, and an extendable set of aggregating facets. Need to discuss, but probably XML as that is DataONE's initial choice for all other services. Contemplate both if useful.
The REST API for this service should be developed in the DataONE space, with intention of it being implementable by both other MNs and CNs in DataONE.