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

      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.

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

              Created:
              Updated:
              Resolved: