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

Add global data method to REST API #4

Closed
osma opened this issue Jun 17, 2014 · 3 comments
Closed

Add global data method to REST API #4

osma opened this issue Jun 17, 2014 · 3 comments

Comments

@osma
Copy link
Member

osma commented Jun 17, 2014

With the current REST API, to retrieve information about a concept, you need to know which vocabulary to look in. But it is not always obvious.

Should implement a global data method that works like the vocabulary-specific data method, but returns data from all vocabularies. E.g.

http://api.finto.fi/rest/v1/data?format=application/json&uri=http://www.yso.fi/onto/allars/Y25576

@osma
Copy link
Member Author

osma commented Sep 19, 2014

Still need to document this in the wiki

@osma osma reopened this Sep 19, 2014
@osma
Copy link
Member Author

osma commented Sep 23, 2014

Also no parameter checking. Returns empty result if no uri given:
http://dev.finto.fi/rest/v1/data

@osma
Copy link
Member Author

osma commented Sep 23, 2014

Documented in wiki. Closing.

@osma osma closed this as completed Sep 23, 2014
osma added a commit that referenced this issue Oct 7, 2015
henriyli pushed a commit that referenced this issue Dec 19, 2017
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