• Description

    Retrieve variant(s) associated to a given gene.

  • URL (PATH)


  • Method


  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    gene_id *required
    example: gene_id=1
    An integer corresponding to a gene id
    example: token=eyJhbGciOiJI...
    Optional access key to save the current query inside the user's profile
  • Example request
                                         GET http://disnet.ctb.upm.es/api/disnet/bio/genes/1/variants?token=
  • Success response (application/json)
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200", 
        "responseMessage": "OK", 
        "errorsFound": null, 
        "variant_Id": [ 
  • Error response (application/json)

    Common errors

    Gene Id error