/bio/variants/{variant-id}/diseases
-
Description
Retrieve diseases associated to a given variant.
-
URL (PATH)
/bio/variants/{variant-id}/diseases?token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description variant-id
[alphanumeric]
requiredA variant id token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/bio/variants/rs1000005/diseases?token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": [ { "diseaseId": "C0200638", "diseaseName": "Eosinophil count procedure" }, { "diseaseId": "C0750879", "diseaseName": "Eosinophil count result" } ] }
-
Error response (application/json)
Common errors