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

responce for API trigger.addDependencies() contains a map of IDs instead of just IDs

    XMLWordPrintable

    Details

      Description

      Documentation:
      https://www.zabbix.com/documentation/1.8/api/trigger/adddependencies
      https://www.zabbix.com/documentation/2.0/manual/api/reference/trigger/adddependencies
      https://www.zabbix.com/documentation/2.2/manual/api/reference/trigger/adddependencies

      says that should be returned:
      "triggerids": ["14092"]
      but actually I get this:
      "triggerids":

      {"14092": 14092}

      So doc or code should be fixed.
      I think code.

      Reproduced on latest SVN HEAD 1.8, 2.0, 2.0.0 release.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              martins-v Martins Valkovskis
              Reporter:
              zalex_ua Oleksii Zagorskyi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: