/pharma/targets?name={name}
-
Description
Search by name and retrieve information about a target.
-
URL (PATH)
/pharma/targets?name={name}&exact-match={exact-match}&token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description name
[alphanumeric]
requiredTarget name exact-match
[boolean] true by default
optionalIf true it searches an exact name match, if false it finds all targets containing the string in the parameter 'name' token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/pharma/targets?name=Glutamate&exact-match=false&token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": [ { "targetType": "SINGLE PROTEIN", "targetId": "CHEMBL1075149", "targetName": "Cystine/glutamate transporter", "organismName": "Homo sapiens" }, { "targetType": "SINGLE PROTEIN", "targetId": "CHEMBL3472", "targetName": "Vesicular glutamate transporter 3", "organismName": "Rattus norvegicus" }, { "targetType": "SINGLE PROTEIN", "targetId": "CHEMBL4296295", "targetName": "Glutamate transporter homolog", "organismName": "Pyrococcus horikoshii OT3" } ] }