/bio/variants

  • Description

    Retrieve all variants in DISNET's biological layer.

  • URL (PATH)

    /bio/variants?token=:token

  • Method

    GET

  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    token
    [alphanumeric]
    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?token=
                                    
  • Success response (application/json)
                                        { 
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200", 
        "responseMessage": "OK", 
        "errorsFound": null, 
        "variantBio": [ 
    { 
        "variant_id": "rs1000005", 
        "chromosome": null, 
        "chrposition": null, 
        "consequence": null 
    }, 
    { 
        "variant_id": "rs1000113", 
        "chromosome": "5", 
        "chrposition": "150860514", 
        "consequence": "intron_variant" 
    } 
    ] 
    }