I send to API next parametrs: {"params": {"filter": {"host": "nanostation5_proto"}}, "jsonrpc": "2.0", "method": "template.get", "auth": "auth", "id": 2}
Ang get next answer :{'jsonrpc': '2.0', 'result': {'11114': {'hostid': '11114', 'templateid': '11114'}}, 'id': 2}, but expected {'jsonrpc': '2.0', 'result': [{'hostid': '11114', 'templateid': '11114'}], 'id': 2}.
Tested on zabbix 1.8.3 and 1.8.4rc1.
Ang get next answer :{'jsonrpc': '2.0', 'result': {'11114': {'hostid': '11114', 'templateid': '11114'}}, 'id': 2}, but expected {'jsonrpc': '2.0', 'result': [{'hostid': '11114', 'templateid': '11114'}], 'id': 2}.
Tested on zabbix 1.8.3 and 1.8.4rc1.
Comment