Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6735

Why having flag and boolean as 2 different types of parameters in the API

    XMLWordPrintable

Details

    • Change Request
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      I don't get what can be achived with one that can't be with the other, and it introduce some confussion

      from https://www.zabbix.com/documentation/current/manual/api/reference_commentary#common_get_method_parameters

      Type Description
      boolean A boolean value, accepts either true or false.
      flag The value is considered to be ​true​ if it is passed and not equal to ​null​ and ​false​ otherwise.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            gustavo.guido@custos.uy Gustavo Guido
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: