Appendix 2. Changes from 5.2 to 5.4

Backward incompatible changes

action

Changes:
ZBXNEXT-2976 removed support of conditiontype value 15 (application).
ZBXNEXT-6368 removed properties type, execute_on, port, command, username, password, authtype, publickey, privatekey from opcommand object.

auditlog

Changes:
ZBXNEXT-2976 removed support of resourcetype value 12 (Application).
ZBXNEXT-6288 removed support of screens and slideshows - values 20 and 24 in resourcetype parameter.

application

Changes:
ZBXNEXT-2976 dropped support of whole Application API.

configuration

Changes:
ZBXNEXT-2976 configuration.import: removed support of parameter rules value applications.
ZBXNEXT-6288 configuration.export: removed support of screens - value ​screens in options parameter.
ZBXNEXT-6288 configuration.import: removed support of screens - value ​screens in rules parameter.
ZBXNEXT-6411 configuration.import: lookup of existing host groups and template elements will be done by UUIDs.

dashboard

Changes:
ZBXNEXT-6309 dashboard.create and dashboard.update: added multipage support - removed widgets array parameter in favor of new pages array parameter, each dashboard page object now containing it's own collection of widgets.
ZBXNEXT-6309 dashboard.get: added multipage support - removed selectWidgets query parameter in favor of new selectPages query parameter.

discoveryrule

Changes:
ZBXNEXT-2976 discoveryrule.get: removed support of parameter selectApplicationPrototypes.

event

Changes:
ZBXNEXT-2976 event.get: removed support of parameter applicationids.

host

Changes:
ZBXNEXT-2976 host.get: removed support of parameters selectApplications, with_applications and applicationids.
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.

hostgroup

Changes:
ZBXNEXT-2976 hostgroup.get: removed support of parameter with_applications.

hostinterface

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

httptest

Changes:
ZBXNEXT-2976 httptest.get: removed web scenario property applicationid.

item

Changes:
ZBXNEXT-6452 removed support of item type 8 - aggregate.
ZBXNEXT-6453 implemented new calculated item formula syntax.
ZBXNEXT-2976 item.create and item.update: removed support of property applications.
ZBXNEXT-2976 item.get: removed support of parameters applicationids, application and selectApplications.
ZBXNEXT-5868 item.get: added selectValueMap to get item value map.

item prototype

Changes:
ZBXNEXT-6452 removed support of item prototype type 8 - aggregate.
ZBXNEXT-6453 implemented new calculated item prototype formula syntax.
ZBXNEXT-2976 itemprototype.create and itemprototype.update: removed support of properties applications and applicationPrototypes.
ZBXNEXT-2976 itemprototype.get: removed support of parameters selectApplications and selectApplicationPrototypes.
ZBXNEXT-5868 itemprototype.get: added selectValueMap to get item prototype value map.

map

Changes:
ZBXNEXT-2976 map.create and map.update: removed support of map element application property.

problem

Changes:
ZBXNEXT-2976 problem.get: removed support of applicationids property.

proxy

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

role

Changes:
ZBXNEXT-2976 removed support of application API methods in api parameter.
ZBXNEXT-6288 removed support of screens - value ​monitoring.screens in rule name parameter.

task

Changes:
ZBXNEXT-6452 task.create: removed support of aggregated item checks for task type 6.

template

Changes:
ZBXNEXT-2976 template.get: removed support of selectApplications property.
ZBXNEXT-5868 template.get: added selectValueMaps property to get template value maps.

template dashboard

Changes:
ZBXNEXT-6309 templatedashboard.create and templatedashboard.update: added multipage support - removed widgets array parameter in favor of new pages array parameter, each dashboard page object now containing it's own collection of widgets.
ZBXNEXT-6309 templatedashboard.get: added multipage support - removed selectWidgets query parameter in favor of new selectPages query parameter.

trigger

Changes:
ZBXNEXT-6451 implemented support of new trigger expression syntax.
ZBXNEXT-2976 trigger.get:removed support of applicationids property.

triggerprototype

Changes:
ZBXNEXT-6451 implemented support of new trigger expression syntax.
ZBXNEXT-2976 triggerprototype.get:removed support of applicationids property.

valuemap

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

Other changes and bug fixes

action

Changes:
ZBXNEXT-2976 added support of conditiontype values 25 (event tag) and 26 (event tag value) for internal actions.

configuration

Changes:
ZBXNEXT-6411 added new API method configuration.importcompare.

dashboard

Changes:
ZBXNEXT-6309 added multipage support: new properties display_period and auto_start added to dashboard object. New object dashboard page introduced.

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).
ZBXNEXT-6411 discoveryrule.create, discoveryrule.get: added support of uuid property.

event

Changes:
ZBXNEXT-6376 event.get: added new tag filtering operators.
ZBXNEXT-6474 event.get: renamed field aliasusername in acknowledges object.

graph

Changes:
ZBXNEXT-6411 graph.create, graph.get: added support of uuid property.

graphprototype

Changes:
ZBXNEXT-6411 graphprototype.create, graphprototype.get: added support of uuid property.

host

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

hostgroup

Changes:
ZBXNEXT-6411 hostgroup.create, hostgroup.get: added support of uuid property.

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 ZBXNEXT-6411 hostprototype.create, hostprototype.get: added support of uuid property.

httptest

Changes:
ZBXNEXT-2976 httptest.create and httptest.update: added support of tags property.
ZBXNEXT-2976 httptest.get: added support of parameters evaltype, tags and selectTags.
ZBXNEXT-6411 httptest.create, httptest.get: added support of uuid property.

map

Changes:
ZBXNEXT-2976 map.create and map.update: added support of map element evaltype and tags properties.

item

Changes:
ZBXNEXT-2976 item.get: added support of properties evaltype, tags and selectTags.
ZBXNEXT-2976 item.create and item.update: added support of parameter tags.
ZBXNEXT-5518 item.create, item.update, item.get: added support of preprocessing step value 27 (XML to JSON).
ZBXNEXT-6411 item.create, item.get: added support of uuid property.

itemprototype

Changes:
ZBXNEXT-2976 itemprototype.create and itemprototype.update: added support of property tags.
ZBXNEXT-2976 itemprototype.get: added support of parameters selectTags.
ZBXNEXT-5518 itemprototype.create, itemprototype.update, itemprototype.get: added support of preprocessing step value 27 (XML to JSON).
ZBXNEXT-6411 itemprototype.create, itemprototype.get: added support of uuid property.

problem

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

report

Changes:
ZBXNEXT-6478 added a new report API introducing new methods report.create, report.update, report.get and report.delete.

role

Changes:
ZBXNEXT-6478 UI element object: added support of new value reports.scheduled_reports.
ZBXNEXT-6478 Action object: added support of new value manage_scheduled_reports.

settings

Changes:
ZBXNEXT-6478 added support of new properties url and report_test_timeout.

script

Changes:
ZBXNEXT-6368 added properties scope, port, authtype, username, password, publickey, privatekey, menu_path.
ZBXNEXT-6368 script.get: added option selectActions which returns action properties actionid, name, eventsource, status, esc_period, pause_suppressed into actions property.
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.
ZBXNEXT-6411 template.create, template.get: added support of uuid property.

template dashboard

Changes:
ZBXNEXT-6309 added multipage support: new properties display_period and auto_start added to dashboard object. New object dashboard page introduced.
ZBXNEXT-6411 templatedashboard.create, templatedashboard.get: added support of uuid property.

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.
ZBXNEXT-6411 trigger.create, trigger.get: added support of uuid property.

triggerprototype

Changes:
ZBXNEXT-6411 triggerprototype.create, triggerprototype.get: added support of uuid property.

user

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

valuemap

Changes:
ZBXNEXT-6411 valuemap.create, valuemap.get: added support of uuid property.