/bio/diseases

  • Description

    Retrieve all diseases (identifiers and names) from DISNET's biological layer.

  • URL (PATH)

    /bio/diseases?token=:token

  • Method

    GET

  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    token
    [alphanumeric]
    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/bio/diseases?token=
                                    
  • Success response (application/json)
                                        { 
        "token": "null", 
        "authorized": false, 
        "authorizationMessage": "null", 
        "responseCode": "200", 
        "responseMessage": "OK", 
        "errorsFound": null, 
        "diseases": [ 
    { 
        "disease_id": "C0000731", 
        "disease_name": "Abdomen distended" 
    }, 
    { 
        "disease_id": "C0000735", 
        "disease_name": "Abdominal Neoplasms" 
    }, 
    { 
        "disease_id": "C0000737", 
        "disease_name": "Abdominal Pain" 
    }, 
    ... 
    ] 
    }