/bio/diseases/{disease-id}/variants
-
Description
Retrieve the variants associated to a given disease.
-
URL (PATH)
/bio/diseases/{disease-id}/variants?token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description disease-id
[alphanumeric]
requiredA cui identifying the disease of interest token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/bio/diseases/C0001175/variants?token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": [ { "variantId": "rs10484554", "chromosome": "6", "chrposition": "31306778", "consequence": "intron_variant" }, { "variantId": "rs11884476", "chromosome": null, "chrposition": null, "consequence": null }, ... ] }
-
Error response (application/json)
Common errors