Closed nichtich closed 2 years ago
I was sure we had this already, but it's not in there. Should be easy to implement I think. The distributions
field is now generated dynamically anyway, so we could easily add it to concept schemes for those which are served by the same jskos-server instance (or even based on the API
field if we detect a JSKOS API).
@nichtich Can you check the implementation? I've added JSON and NDJSON download for the /voc/concepts endpoint and added the distributions
field to schemes, including ones from the API
field. (This means we could also add a "download" button in BARTOC with these if they are available in a JSON API.)
Endpoints GET /mappings and GET /concordances provide a
download=[type]
parameter. This should also be added to endpoint GET /voc/concepts to allow direct download of all concepts of a concept scheme. The link(s) should also be injected asdistribution
to concept schemes, e.g.This would allow providing download links for vocabularies. Current workaround is to query /voc/concepts multiple times with increased
offset
.