Sidebar

manual:api:changes_5.2_-_5.4

Appendix 2. Changes from 5.2 to 5.4

Backward incompatible changes

host

Changes:
ZBXNEXT-6311 host.get: host interface fields available, error, errors_from, disable_until for all type of host interfaces were moved on host interface level.
ZBX-18134 host.get: removed tls_psk_identity and tls_psk properties from response.
ZBXNEXT-5868 host.get: added selectValueMaps to get host value maps.

hostinterface

Changes:
ZBXNEXT-6311 hostinterface.get: added new host interface fields: available, error, errors_from, disable_until.

item

Changes:
ZBXNEXT-5868 item.get: added selectValueMap to get item value map.

item prototype

Changes:
ZBXNEXT-5868 itemprototype.get: added selectValueMap to get item prototype value map.

proxy

Changes:
ZBX-18134 proxy.get: removed tls_psk_identity and tls_psk properties from response.

template

Changes:
ZBXNEXT-5868 template.get: added selectValueMaps property to get template value maps.

valuemap

Changes:
ZBXNEXT-5868 valuemap.create, valuemap.get: added required field hostid.

Other changes and bug fixes

dcheck

Changes:
ZBXNEXT-6427 added options 2 - SHA224, 3 - SHA256, 4 - SHA384, 5 - SHA512 to snmpv3_authprotocol property and options 2 - AES192, 3 - AES256, 4 - AES192C, 5 - AES256C to snmpv3_privprotocol property

discoveryrule

Changes:
ZBXNEXT-5518 discoveryrule.create, discoveryrule.update, discoveryrule.get: added support of preprocessing step value 27 (XML to JSON).
ZBXNEXT-6252 discoveryrule.create, discoveryrule.update, discoveryrule.get: added support of filter condition operator value 12 (exists) and 13 (does not exist).

event

Changes:
ZBXNEXT-6376 event.get: added new tag filtering operators.

host

Changes:
ZBXNEXT-6376 host.get: added new tag filtering operators.

hostinterface

Changes:
ZBXNEXT-6427 added options 2 - SHA224, 3 - SHA256, 4 - SHA384, 5 - SHA512 to authprotocol property and options 2 - AES192, 3 - AES256, 4 - AES192C, 5 - AES256C to privprotocol property

hostprototype

Changes:
ZBXNEXT-6427 added options 2 - SHA224, 3 - SHA256, 4 - SHA384, 5 - SHA512 to authprotocol property and options 2 - AES192, 3 - AES256, 4 - AES192C, 5 - AES256C to privprotocol property

item

Changes:
ZBXNEXT-5518 item.create, item.update, item.get: added support of preprocessing step value 27 (XML to JSON).

itemprototype

Changes:
ZBXNEXT-5518 itemprototype.create, itemprototype.update, itemprototype.get: added support of preprocessing step value 27 (XML to JSON).

problem

Changes:
ZBXNEXT-6376 problem.get: added new tag filtering operators.

script

Changes:
ZBXNEXT-6360 script.create: changed default value of type property to 5 (Webhook).
ZBXNEXT-6360 script.create: type property became mandatory.
ZBXNEXT-6360 script.create, script.update, script.get: added new properties timeout and parameters to store settings specific to webhook scripts.
ZBXNEXT-6360 script.execute: added new parameter eventid to run script on event.
ZBXNEXT-6360 script.execute: parameter hostid is no longer mandatory if eventid is specified.
ZBXNEXT-6360 script.execute: to run a script, either parameter hostid or parameter eventid must be specified.

template

Changes:
ZBXNEXT-6376 template.get: added new tag filtering operators.

token

Changes:
ZBXNEXT-6207 added a new token API introducing new methods token.create, token.update, token.get, token.delete and token.generate.

trigger

Changes:
ZBXNEXT-6376 trigger.get: added new tag filtering operators.

user

Changes:
ZBXNEXT-6474 user.login: Renamed parameter userusername.
ZBXNEXT-6474 user.object: Renamed field aliasusername.