@app.route("<STR_LIT>", methods=['<STR_LIT:GET>', '<STR_LIT:POST>'])<EOL>def query_disease():
allowed_str_args = ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT:name>', '<STR_LIT>', '<STR_LIT:description>']<EOL>args = get_args(<EOL>request_args=request.args,<EOL>allowed_str_args=allowed_str_args<EOL>)<EOL>return jsonify(query.disease(**args))<EOL>
Returns list of diseases by query parameters
---

tags:

  - Query functions

parameters:

  - name: identifier
    in: query
    type: string
    required: false
    description: Disease identifier
    default: DI-03832

  - name: ref_id
    in: query
    type: string
    required: false
    description: reference identifier
    default: 104300

  - name: ref_type
    in: query
    type: string
    required: false
    description: Reference type
    default: MIM

  - name: name
    in: query
    type: string
    required: false
    description: Disease name
    default: Alzheimer disease

  - name: acronym
    in: query
    type: string
    required: false
    description: Disease acronym
    default: AD

  - name: description
    in: query
    type: string
    required: false
    description: Description of disease
    default: '%neurodegenerative disorder%'

  - name: limit
    in: query
    type: integer
    required: false
    description: limit of results numbers
    default: 10