monarch-initiative / biolink-api

API for linked biological knowledge
https://api.monarchinitiative.org/api/
BSD 3-Clause "New" or "Revised" License
64 stars 25 forks source link

bioentity/{id} should include the alternative ids for both primary and deprecated ids #369

Open kshefchek opened 3 years ago

kshefchek commented 3 years ago

For example: https://api.monarchinitiative.org/api/bioentity/HP:0002189 should return HP:0001262 as its current id

and https://api.monarchinitiative.org/api/bioentity/HP:0001262 should return HP:0002189 as an alt id

@iimpulse perhaps something like this already exists on the HPO API? Either way we want to generalize here to all ontologies used in Monarch.