Closed luddaniel closed 2 weeks ago
fixed in https://github.com/ontoportal-lirmm/goo/pull/61 Deployed in Staging environment https://data.stageportal.lirmm.fr/ontologies/INRAETHES/classes/http%3A%2F%2Fopendata.inrae.fr%2FthesaurusINRAE%2Fc_25056?lang=fr,en&display=prefLabel,synonym&display_links=false&display_context=false
@luddaniel this fix will come in the next release of AgroPortal (mid-July)
Describe the bug While using API
/ontologies/{ontology}/classes/{uri}
query parameterlanguage
is no longuer working with multiple languages.To Reproduce Example: https://data.agroportal.lirmm.fr/ontologies/GACS/classes/http%3A%2F%2Fid.agrisemantics.org%2Fgacs%2FC28729?language=fr,en Result:
"prefLabel": null,
Expected behavior
prefLabel
andsynonym
should only contain the specified language. Expected Result for?language=fr,en
:Additional context Please note that :
language=all
language=fr
language=en
are still working.