chembl / chembl_webservices_2

Source code of the ChEMBL web services.
https://www.ebi.ac.uk/chembl/ws
Other
16 stars 3 forks source link

target_relation ednpoint can be accessed by any kind of primary ID #114

Closed mnowotka closed 6 years ago

mnowotka commented 7 years ago

for example this URL returns error 500:

https://www.ebi.ac.uk/chembl/api/data/target_relation/CHEMBL2285

but this will work:

https://www.ebi.ac.uk/chembl/api/data/target_relation.json?related_target_chembl_id=CHEMBL2285

As well as this https://www.ebi.ac.uk/chembl/api/data/target_relation.json?target_chembl_id=CHEMBL2285

nevertheless the first URL has a perfect sense and should work as well.