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

API event.get filter issue

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 7.0.0
    • API (A)
    • None

      Steps to reproduce:

      1. Send API request and filter clock 
      2. {"jsonrpc":"2.0","method":"event.get","params": {"selectHosts": ["host","name"], "filter": {"clock": "1714395537"}}, "id": 1} 

      Result:

      {    "jsonrpc": "2.0",    "error": {        "code": -32602,        "message": "Invalid params.",        "data": "Invalid parameter \"/filter\": unexpected parameter \"clock\"."    },    "id": 1} 

      Expected:
      Success response, this worked with version 6.4

            zabbix.dev Zabbix Development Team
            kristofferis Kristoffer Isaksson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: