-
Notifications
You must be signed in to change notification settings - Fork 8
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
Endpoint /ontologies_full is showing private ontologies #112
Comments
Can you reproduce it in bioportal ? |
/submissions has the same issue. See ncbo#76 |
This might not necessarily be a problem. This endpoint is not visible, not documented, available only in the open code and now mentionned in this issue. /ontologies_full return more information than /ontologies https://data.agroportal.lirmm.fr/ontologies_full?&display_links=false&display_context=false https://data.agroportal.lirmm.fr/ontologies?&display_links=false&display_context=false Before taking a decision we need a listing of where this endpoint is being used in the code. Which views? |
@jonquet it used no where in the UI |
@jonquet it's used no where also in the api, it's just declared as route to display ontologies + submissions + metrics. |
by the way @imadbourouche , the MOD API endpoint |
@jonquet what we do for this route ? no one is using it so i suggest we don't show it until we see if we need it next time |
In favor of removing it. |
@mdorf @jvendetti do you have an opinion related to /ontologies_full route? |
@mdorf implemented that endpoint at the request of the CEDAR team at Stanford to address performance issues they were having with making multiple calls to multiple endpoints to collect certain data necessary for their application. Misha can correct me if I'm wrong, but I don't believe we have any intention of removing this endpoint from our codebase. |
Thanks for the historical note. Is that ok for this endpoint to be updated (to not return private ontologies as the other ones in the API) then @mdorf could you add it to the public documentation (semi-generated). |
Description
The endpoint
/ontologies_full
is showing private ontologiesTest in : https://data.agroportal.lirmm.fr/ontologies_full?display=viewingRestriction&display_links=false&display_context=false
Screenshot
The text was updated successfully, but these errors were encountered: