/bio/diseases?name={name}

  • Description

    Search diseases by name.

  • URL (PATH)

    /bio/diseases?name={name}&exact-match={exact-match}&token={token}

  • Method

    GET

  • Authentication

    Optional (token)

  • Request parameters & Path variables
    Parameter Description
    name
    [alphanumeric]
    required
    Name of the disease
    exact-match
    [boolean] true by default
    optional
    If true it searches an exact name match, if false it finds all diseases containing the string in the parameter 'name'
    token
    [alphanumeric]
    optional
    Optional access key to save the current query in your profile
  • Example request
                                         https://disnet.ctb.upm.es/api/disnet/bio/diseases?name=Abdomen distended?token=eJtdWrIisOiJt...
                                    
  • Success response (application/json)
                                        {
      "token": null,
      "authorized": false,
      "authorizationMessage": null,
      "responseCode": "200",
      "responseMessage": "OK",
      "errorsFound": [],
      "data": [
        {
          "diseaseId": "C0000731",
          "diseaseName": "Abdomen distended"
        }
      ]
    }
                                    
  • Error response (application/json)

    Common errors

    Name error