• Description

    Retrieve information about a given variant.

  • URL (PATH)


  • Method


  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    variant_id *required
    example: rs1000113
    A variant 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/variants/rs1000113?token=
  • Success response (application/json)
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200", 
        "responseMessage": "OK", 
        "errorsFound": null, 
        "variantBio": { 
        "chromosome": "5", 
        "chrposition": "150860514", 
        "consequence": "intron_variant" 
  • Error response (application/json)

    Common errors

    Variant_id error