Sidebar

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

Appendix 2. Changes from 5.2 to 5.4

Backward incompatible changes

action

Changes:
ZBXNEXT-2976 removed support of conditiontype value 15 (application).

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.

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.

map

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

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.

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-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.
ZBXNEXT-6368 removed properties type, execute_on, port, command, username, password, authtype, publickey, privatekey from opcommand object.

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).

event

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

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

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.

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).

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).

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.

template dashboard

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

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 Renamed field aliasusername in user object.