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

item.create "preprocessing" params are magically formatted strings

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 3.4.0alpha1
    • API (A)

      For the JSON API, You have "params" as a magically formatted string with LineFeed characters to separate items.

      This should be an array of strings for consistency and ease of use.

      Introduced in ZBXNEXT-1443

      Also, item.create and item.object do not properly document the parameters or the functions. item.get has some notice about what the preprocessing values and functions can be, but only in the select by part.

      Please reconsider the design of this API. \LF split strings of magical content doesn't make sense from an API user standpoint.

            Unassigned Unassigned
            spider D.Spindel Ljungmark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: