/pharma/phenotypes/{phenotype-id}/drugs
-
Description
Retrieve all drugs associated to a phenotype effect.
-
URL (PATH)
/pharma/phenotypes/{phenotype-id}/drugs?token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description phenotype-id
[alphanumeric]
requiredA cui corresponding to a phenotype effect token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/pharma/phenotypes/C0220982/drugs?token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": [ { "drugId": "CHEMBL114", "drugName": "SAQUINAVIR" }, { "drugId": "CHEMBL2362016", "drugName": "ARSENIC TRIOXIDE" }, { "drugId": "CHEMBL42", "drugName": "CLOZAPINE" } ] }