/pheno/disnet-diseases/{disnet-id}/symptoms

  • Description

    Retrieve the symptoms associated to a disease, and optionally, select a specific source and snapshot.

  • URL (PATH)

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

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    disnet-id
    [alphanumeric]
    required
    A disnet id identifying a specific disease
    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/DIS000941/symptoms?source=wikipedia&snapshot=2020-01-01&token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        {
          "cui": "C0028754",
          "name": "Obesity",
          "semanticTypes": [
            "dsyn"
          ]
        },
        {
          "cui": "C3714514",
          "name": "Infection",
          "semanticTypes": [
            "patf"
          ]
        },
       ...
      ]
    }
                                    
  • Error response (application/json)

    Common errors

    Source error

    Snapshot error

    Snapshot format error

    Disease id error