/pharma/targets

  • Description

    Retrieve all targets.

  • URL (PATH)

    /pharma/targets?token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/pharma/targets?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        {
          "targetId": "CHEMBL1075021",
          "targetName": "DNA gyrase subunit B"
        },
        {
          "targetId": "CHEMBL1075022",
          "targetName": "ParE"
        },
       ...
      ]
    }