gbv / subjects-api

JSKOS Concept Occurrences Provider implementation
https://coli-conc.gbv.de/subjects/
MIT License
0 stars 0 forks source link

Add optional endpoint for incremental updates #36

Open nichtich opened 1 year ago

nichtich commented 1 year ago

Two methods (disabled by default) to modify subject indexing of a record.

Endpoint URL could be same endpoint as HTTP GET /api/?record=${record}

Update endpoints should be restricted in the same way as JSKOS Server (see https://github.com/gbv/jskos-server#authentication) with a list of whitelisted identities.

Updates via these endpoints differ from updates via import script (#27) by import format: import scripts use internal format of backends (TSV or NTriples) , update endpoints use JSKOS Occurrences.

nichtich commented 1 year ago

First step to do so: #43 (probably PUT instead of POST)