gbv / jskos-server

Web service to access JSKOS data
https://coli-conc.gbv.de/api/
MIT License
6 stars 4 forks source link

Get list of schemes #15

Closed nichtich closed 6 years ago

nichtich commented 6 years ago

Add method and/or query parameters to get

Best would be to also include statistics (the number of mappings which a scheme occurrs in). This might best implemented by indexing and counting during import, but a simple table scan could be enough to start with.

This method is required to provide automatic lists for #14 in cocoda mapping browser.

stefandesu commented 6 years ago

Implemented now. We can still adjust the parameters though.

Implement /mappings/voc endpoint (#15)

Lists all concept schemes available for mappings in the database. Query parameters:

  • from: URI of concept from which to map
  • to: URI of concept to which to map from and to are combined with an OR relation. Resulting schemes will have the properties fromCount and toCount.