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

Using include parameter with /ontologies/classes/:cls/mappings sometimes returns 404 status #83

Open
jvendetti opened this issue Apr 5, 2022 · 0 comments

Comments

@jvendetti
Copy link
Member

Attempts to use the "include=prefLabel" parameter with the /mappings endpoint for classes sometimes returns a 404 status.

For example, this call succeeds with a 200 status:

https://data.bioontology.org/ontologies/HTN/classes/http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FVSO_0000020/mappings?include=prefLabel

... but this call fails with a 404 status:

https://data.bioontology.org/ontologies/HTN/classes/http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FBFO_0000001/mappings?display_links=false&display_context=false&include=all

{
-"errors": [
"The ontologies parameter `[HTN,ENVTHES,RETO,HHEAR,SIO,GEXO,ONS,REXO,GLYCOCOO,BIOMO,IOBC,SCO,HASCO,EPO,SITBAC,SENTI,BCGO,OGDI,OF,BOF,CTX,ONTOAD,GFO,GFO-BIO,OCRE,ADALAB-META,G-PROV,PROJ,REPRODUCE-ME,CHEAR,DCAT-FDC,GBOL,PGXO,PROVCARE,NIDM-RESULTS,TIM,MIAPA,PROV-ONE,PROVO,CHEMBIO,FHIR4,FHIR,FLU,HUPSON,CSEO,ADAR,AERO,NEOMARK4,CPRO,NEMO,PTSDO,ADO,CAO,PE-O,ECG,CANCO,SDO,BDO,HPIO,SPO,IDODEN,ACGT-MO,CNO,DDI,TEO,NPO,SP,PDRO,TOP-MENELAS,NCIT,NCICOPY,ICNP,ST1,HL7,BIRNLEX,NMR,TRAK,PMD,RT,OBOE,ECSO,OGG,ODNAE,VODAN,OBIWS,DPO,ICEO,GDCO,PP,AFO,RCIT_A1_TEST1,ECOCORE,LIFO,OMIT,DRON,VIVO-ISF,HSO,OBI_BCGO,RT123,TXPO,KTAO,UPHENO,IDO-COVID-19,CIDO,NGBO,O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CCO,BIOLINK,BLM,RBSCI,BP,MIM,DIKB,CLAO,OBOE-SBC,SEP,DBPEDIA,SAO,ONTOPARON,PLIO,PSO]` includes non-existent acronyms. Notice that acronyms are case sensitive."
],
"status": 404
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant