Skip to content

Adding or removing endpoints

Simon edited this page Jul 9, 2024 · 3 revisions

Note

This prototype requires an elastic endpoint for initial search hits (which are then asynchronously enriched using federated SPARQL requests). Out-of-the-box support for search through alternative means (e.g., direct SPARQL requests, existing APIs, ...) is on the roadmap, but not yet implemented.

Add/remove elastic and SPARQL endpoints in config/settings.ts (under endpoints):

endpoints: {
    hua: {
      label: 'Het Utrechts Archief',
      endpointUrls: [
        {
          elastic: 'https://api.data.netwerkdigitaalerfgoed.nl/datasets/hetutrechtsarchief/Test-Amerongen/services/Zoeken/_search',
          sparql: 'https://api.data.netwerkdigitaalerfgoed.nl/datasets/hetutrechtsarchief/Test-Amerongen/sparql',
        },
      ],
    },
    ...
}