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

  • Description

    Retrieve the urls associated to a disease belonging to a certain source and snapshot. This urls direct to the documents where the symptom information was extracted from.

  • URL (PATH)

    /pheno/disnet-diseases/{disnet-id}/url?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]
    required
    Name of the information source
    snapshot
    [alphanumeric]
    required
    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/DIS011970/url?source=wikipedia&snapshot=2020-01-01&token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        "http://en.wikipedia.org/wiki/Otic_polyp"
      ]
    }
                                    
  • Error response (application/json)

    Common errors

    Source error

    Snapshot error

    Snapshot format error