/bio/diseases/{disease-id}/genes

  • Description

    Get the genes associated with a given disease.

  • URL (PATH)

    /bio/diseases/{disease-id}/genes?token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    disease-id
    [alphanumeric]
    required
    A cui identifying the disease of interest
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/bio/diseases/C0000731/genes?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        {
          "geneId": 72,
          "geneName": "actin, gamma 2, smooth muscle, enteric",
          "geneSymbol": "ACTG2"
        },
        {
          "geneId": 672,
          "geneName": "BRCA1, DNA repair associated",
          "geneSymbol": "BRCA1"
        },
        ...
      ]
    }
                                    
  • Error response (application/json)

    Common errors

    Disease id error