/bio/variants

  • Description

    Retrieve all variants in the biology layer.

  • URL (PATH)

    /bio/variants?token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    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?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
        "token": null,
        "authorized": false,
        "authorizationMessage": null,
        "responseCode": "200",
        "responseMessage": "OK",
        "errorsFound": [],
        "data":
        [
    
            {
                "variantId": "rs1000113",
                "chromosome": "5",
                "chrposition": "150860514",
                "consequence": "intron_variant"
            },
            {
                "variantId": "rs10002268",
                "chromosome": "4",
                "chrposition": "55653725",
                "consequence": "intergenic_variant"
            },
           ...
        ]
    }