gbv / jskos-server

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

Add landing page at base URL #46

Closed nichtich closed 5 years ago

nichtich commented 5 years ago

It's annoying to get a Cannot GET / at base URL and having to look update documentation to find out what's provided by the server. Eventually #23 should solve this but a simple landing page may be enough to start with.

stefandesu commented 5 years ago

I added a simple landing page, but I didn't include all endpoints because many endpoints need a parameter (/data, /narrower/, etc.), and if the page should be universal, we can't just hardcode examples in there (because they might not work for all instances of jskos-server). Theoretically we would need to dynamically generate the examples from the data in the database. Or do you have any other ideas?

nichtich commented 5 years ago

Let's close this and refer to #23 for improvement.