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

/ontol/ -> /ontology/ #222

Open lpalbou opened 6 years ago

lpalbou commented 6 years ago

Following last week discussion on GO endpoints in BioLink:

  1. can I remove the /ontol/testme/{ontology} path (should not be there anyway)

  2. we discussed the creation of some routes in /ontology/, can I change /ontol/ to /ontology/ for the two existing routes:

    • /ontol/subgraph/{ontology}/{node}
    • /ontol/information_contact/{subject_category}/{object_category}/{subject_taxon}

If you think it will break someone code, maybe it's better for now to create my routes under /ontol/ for consistency, then wait for a biolink 2.0 to change all /ontol/ to /ontology/ ?

  1. we still need to decide wether we use /function (e.g. /bioentity/gene/{id}/function) to retrieve GO terms to promote a higher level understanding of what GO actually provide... or if we specifically mention /goterm for clarity (e.g. as in existing path /bioentity/goterm/{id}/genes).

@cmungall and @deepakunni3 ?