Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KOS urls are partially hardcoded #180

Open
DavidLeoni opened this issue Feb 10, 2016 · 0 comments
Open

KOS urls are partially hardcoded #180

DavidLeoni opened this issue Feb 10, 2016 · 0 comments

Comments

@DavidLeoni
Copy link
Member

Currently disi client as entity/concept/etype identifiers provides urls which point to sweb api, thus if you visit them with the browser you see an ugly json. But in ODR UI, when clicking on meanings user arrives to the nice KOS browser. This happens because in ODR we extrapolate from sweb api urls the entity / concept id and then we append it to the url a KOS service. But we can't hard code things in ODR in this way, so, ideally, the urls we receive from disi client should be global urls pointing to a KOS service that can recognize which MIME type is being requested, if HTML it will display a nice KOS ui, otherwise it will return json.

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

No branches or pull requests

1 participant