datagov-cz / sgov

SGoV server and tooling
MIT License
2 stars 1 forks source link

Create an endpoint for getting transitive imports #78

Closed psiotwo closed 3 years ago

psiotwo commented 3 years ago

Create a new endpoint GET /vocabularies/{id}/imports

which gets a set of all vocabulary IRIs the given vocabulary transitively imports.

psiotwo commented 3 years ago

Example call:

curl --location --request GET 'http://localhost:18189/sgov-server/vocabularies/školství/imports?namespace=https://slovn%C3%ADk.gov.cz/generick%C3%BD/'