gbv / jskos-server

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

Purge and insert mappings via HTTP #4

Closed nichtich closed 6 years ago

nichtich commented 6 years ago

The mappings endpoints could also support HTTP DELETE and HTTP POST to initialize and purge the database and to add mappings, so it will not needed to log into the application server. This also allows to abstract away the use of MongoDB as other database backends could be added without changing how to insert mappings. If the application is made public via reverse proxy, these HTTP methods can be disallowed or put behind access restrictions.

nichtich commented 6 years ago

The proxy at https://coli-conc.gbv.de/api/mappings only allows HTTP HEAD and GET so implementing DELETE and POST should be no problem.

nichtich commented 6 years ago

Not required so far, maybe another time (reopen if needed).