• Description

    Retrieve number of diseases for a given source and snapshot.

  • URL (PATH)


  • Method


  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    source *required
    example: source=wikipedia
    Name of the ifonrmation source
    version *required
    [alphanumeric with format “aaaa-mm-dd”]
    example: version=2018-09-15
    Date of the information source extraction, in “yyyy-mm-dd” format
    example: token=eyJhbGciOiJI...
    Optional access key to save the current query inside the user's profile
  • Example request
                                         GET http://disnet.ctb.upm.es/api/disnet/query/diseaseCount?source=pubmed&version=2018-09-15&token=
  • Success response (application/json)
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200",
        "responseMessage": "OK",
        "errorsFound": [],
        "count": 2355
  • Error response (application/json)

    Common errors

    Source error

    Version error