API HostInterface expecting details object

XMLWordPrintable

    • Type: Documentation task
    • Resolution: Fixed
    • Priority: Trivial
    • 5.2 (plan)
    • Affects Version/s: 5.0.0
    • Component/s: Documentation (D)
    • Sprint 64 (May 2020)

      According to documentation https://www.zabbix.com/documentation/current/manual/api/reference/hostinterface/object details object in not required. However, line 393 in https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/ui/include/classes/api/services/CHostInterface.php is checking object existence.

      If I'm trying to reproduce host create example from https://www.zabbix.com/documentation/current/manual/api/reference/host/create but I'm getting:

      {"jsonrpc":"2.0","error":{"code":-32602,"message":"Invalid params.","data":"Incorrect arguments passed to function."},"id":1}"
      

            Assignee:
            Martins Valkovskis
            Reporter:
            Blažej Krajňák
            Team D
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: