ncbo / ontologies_api

Hypermedia API for NCBO's ontology-related projects
http://data.bioontology.org
Other
25 stars 10 forks source link

Submission specific metrics always points to latest ones #77

Closed jonquet closed 1 year ago

jonquet commented 2 years ago

This is about metrics in BioPortal:

The metrics that are computed automatically by BioPortal when an ontology is submitted are attached to the submission object however the submission specific REST call to retrieve metrics always point to the latest one

For example on NCIT:

https://data.bioontology.org/ontologies/NCIT/metrics => will return the metrics of the latest submission (112) image

which equivalent to https://data.bioontology.org/ontologies/NCIT/submissions/112/metrics

But https://data.bioontology.org/ontologies/NCIT/submissions/10/metrics and https://data.bioontology.org/ontologies/NCIT/submissions/100000000001/metrics

will return the same metrics (the 112's)