/pheno/metadata
-
Description
Retrieve metadata for a given source and snapshot.
-
URL (PATH)
/pheno/metadata?source={source}&snapshot={snapshot}&token={token}
-
Method
GET
-
Authentication
Optional (token)
-
Request parameters & Path variables
Parameter Description source
[alphanumeric]
requiredName of the information source snapshot
[alphanumeric]
requiredDate of the information extraction, with the the following format: “yyyy-mm-dd” token
[alphanumeric]
optionalOptional access key to save the current query in your profile -
Example request
https://disnet.ctb.upm.es/api/disnet/pheno/metadata?source=wikipedia&snapshot=2020-01-01&token=eJtdWrIisOiJt...
-
Success response (application/json)
{ "token": null, "authorized": false, "authorizationMessage": null, "responseCode": "200", "responseMessage": "OK", "errorsFound": [], "data": { "tvpRestApi": { "nonRepetedTerms": 15375, "termsFound": 273567, "validatedNonRepetedTerms": 2043 }, "diseaseAvailableListRestApi": { "albumId": "ysojbwpznygz", "numberDiseases": 15133, "source": "SO01", "version": "2020-01-01", "useDiseaseSafeList": true }, "metamapRestApi": { "sources": [ "SNOMEDCT_US" ], "options": "-y -R", "concept_location": true, "semanticTypes": [ "acab", "anab", "comd", "cgab", "dsyn", "emod", "fndg", "mobd", "neop", "patf", "sosy", "lbtr", "clna", "menp", "diap", "lbpr" ] } } }
-
Error response (application/json)
Common errors