• Description

    Retrieve the disease id of a given disease name.

  • URL (PATH)


  • Method


  • Auth required

    Optional (token)

  • Request parameters
    Parameter Description
    name *required
    example: name=Abdomen distended
    Name of the disease
    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?name=Abdomen distended&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" 
  • Error response (application/json)

    Common errors

    Name error