-
Documentation task
-
Resolution: Fixed
-
Trivial
-
5.0.0
-
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}"