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

Invalid JSON in example for trigger.get with tags

XMLWordPrintable

    • Icon: Documentation task Documentation task
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • None
    • 3.2.8, 3.4.2
    • Documentation (D)
    • Team A
    • Sprint 18
    • 0.1

      Invalid JSON in example for trigger.get with tags.

      Missing comma at the end of line 8.

      https://www.zabbix.com/documentation/3.2/manual/api/reference/trigger/get#retrieving_a_specific_trigger_with_tags

      https://www.zabbix.com/documentation/3.4/manual/api/reference/trigger/get#retrieving_a_specific_trigger_with_tags

      The correct example should be:

      {
          "jsonrpc": "2.0",
          "method": "trigger.get",
          "params": {
              "output": [
                  "triggerid",
                  "description"
              ],
              "selectTags": "extend",
              "triggerids": [
                  "17578"
              ]
          },
          "auth": "038e1d7b1735c6a5436ee9eae095879e",
          "id": 1
      }
      

            Unassigned Unassigned
            ingus.vilnis Ingus Vilnis
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: