/pharma/drugs
-
Description
Retrieve all drugs.
-
URL (PATH)
/pharma/drugs?token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/pharma/drugs?token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": [ { "drugId": "CHEMBL1000", "drugName": "CETIRIZINE" }, { "drugId": "CHEMBL100116", "drugName": "PENTAZOCINE" }, ... ] }