/pharma/drugs/{drug-id}/diseases
-
Description
Retrieve all diseases in the pharmacology layer associated to a drug.
-
URL (PATH)
/pharma/drugs/{drug-id}/diseases?token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description id
[alphanumeric]
requiredA CHEMBL identifier corresponding to a drug token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/pharma/drugs/CHEMBL100116/diseases?token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": [ { "diseaseId": "C0000737", "diseaseName": "Abdominal Pain" }, { "diseaseId": "C0001127", "diseaseName": "Acidosis, Respiratory" }, ... ] }