/pharma/targets?id={id}
-
Description
Search by id and retrieve information about a target.
-
URL (PATH)
/pharma/targets?id={id}&token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description id
[alphanumeric]
requiredA CHEMBL identifier corresponding to a drug target token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/pharma/targets?id=CHEMBL2354204&token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": { "targetType": "PROTEIN FAMILY", "organismName": "Bacteria", "targetId": "CHEMBL2354204", "targetName": "Bacterial penicillin-binding protein" } }