Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Dataset URIs are used as resource URLs; prohibitive #102

Open
abargnesi opened this issue Mar 16, 2016 · 0 comments
Open

Dataset URIs are used as resource URLs; prohibitive #102

abargnesi opened this issue Mar 16, 2016 · 0 comments

Comments

@abargnesi
Copy link
Member

Datasets are stored with a URI computed from the scheme and host that is serving the OpenBEL API. For example if OpenBEL API is served from http://web.site.com then dataset URIs will be of the form
http://web.site.com/api/datasets/{UUID}.

If you change the scheme and host these URIs will be inconsistent and you will not be able to retrieve your datasets. You will have to re-import your documents.

It would be safer to compute the URL by the current schema and host and appending a dataset identifier to path. Once we find a dataset by identifier (or all datasets) we access it's dc:identifier to compute the resource location.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant