/pheno/disnet-diseases

  • Description

    Retrieve the list of diseases in the phenotype layer, and optionally, select a specific source and snapshot.

  • URL (PATH)

    /pheno/disnet-diseases?source={source}&snapshot={snapshot}&token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    source
    [alphanumeric]
    optional
    always paired with snapshot
    Name of the information source
    snapshot
    [alphanumeric]
    optional
    always paired with source
    Date of the information extraction, with the the following format: “yyyy-mm-dd”
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/pheno/disnet-diseases?source=wikipedia&snapshot=2020-01-01&token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
        "token": null,
        "authorized": false,
        "authorizationMessage": null,
        "responseCode": "200",
        "responseMessage": "OK",
        "errorsFound": [],
        "data":
        [
            {
                "diseaseId": "DIS010790",
                "name": "(von Zumbusch) acute generalized pustular psoriasis"
            },
            {
                "diseaseId": "DIS010861",
                "name": "13q deletion syndrome"
            },
            {
                "diseaseId": "DIS004692",
                "name": "17q21.31 microdeletion syndrome"
            },
            ...
        ]
    }
                                    
  • Error response (application/json)

    Common errors

    Source error

    Snapshot error

    Snapshot format error