/bio/variants/{variant-id}/genes

  • Description

    Retrieve genes associated to a given variant.

  • URL (PATH)

    /bio/variants/{variant-id}/genes?token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    variant-id
    [alphanumeric]
    required
    A variant id
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/bio/variants/rs10001632/genes?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        {
          "geneId": 116449,
          "geneName": "cytokine dependent hematopoietic cell linker",
          "geneSymbol": "CLNK"
        },
        {
          "geneId": 105374482,
          "geneName": "uncharacterized LOC105374482",
          "geneSymbol": null
        }
      ]
    }
                                    
  • Error response (application/json)

    Common errors

    Variant id error