Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23578

invalid property described on api method references.

XMLWordPrintable

    • Documentation backlog
    • 1

      Steps to reproduce:

      1. write a request with "trigger.get" method, using "selectFunctions" property in params.
      2. specify the parameter to be returned that shows the name of the function (according to the method reference, it is "function")
      3. send the request to the api

      Result:

      1. returned properties don't have the name of function. 
      2. change the request parameter from "function" to "name", then returned property will show  the name of function. ( returned property key is still "function" though)

      Expected:

      The parameters in request and return should be the same when they indicate the same thing.
      It is confusing that the api requires different parameters for request and return.

       

      P.S.

      I attached sample script and  its http-content dumpfile.

      This may be trivial issue but I will be grateful if you consider it.

      Thank you in advance.

        1. 01_content.txt
          2 kB
        2. 01_invalid_params.sh
          0.6 kB
        3. 02_content.txt
          2 kB
        4. 02_valid_params.sh
          0.6 kB

            adancis Arturs Dancis
            mejakatayama Meja Katayama
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 1.25h
                1.25h