/pharma/diseases/{disease-id}/drugs
-
Description
Retrieve all drugs associated to a disease in the pharmacology layer.
-
URL (PATH)
/pharma/diseases/{disease-id}/drugs?token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description disease-id
[alphanumeric]
requiredA cui corresponding to a disease of interest token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/pharma/diseases/C0000786/drugs?token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": [ { "drugId": "CHEMBL1009", "drugName": "LEVODOPA" }, { "drugId": "CHEMBL940", "drugName": "GABAPENTIN" }, ... ] }