gbv / wikidata-jskos

Access Wikidata in JSKOS format
https://coli-conc.gbv.de/services/wikidata/
MIT License
6 stars 3 forks source link

Add saving/editing/deleting mappings #29

Closed stefandesu closed 5 years ago

stefandesu commented 5 years ago

Previous thoughts (German): https://github.com/gbv/cocoda/wiki/Eintragung-von-Wikidata-Mappings

stefandesu commented 5 years ago

Tests have to be fixed. Related to the change in mapping URIs. The main mapping URI is now `${config.baseUrl}mappings/` + claim.id.replace("$", "-") so that you get use GET, PUT, and DELETE requests on it.

stefandesu commented 5 years ago

I continued working on this on the write-mappings branch and I think it's ready to merge now. There are no tests though, we should maybe try to mock wdEdit for this, but I think it will be fairly complicated.

stefandesu commented 5 years ago

Branch is now merged.