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

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • None
    • None

      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.

       

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

              Created:
              Updated: